Shoghi Cervantes Pueyo 8513a34358 Added construct method
2013-02-02 19:52:06 +01:00

39 lines
863 B
PHP

<?php
/*
-
/ \
/ \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |
| .. | .. |
| .. | .. |
\ | /
\ | /
\ | /
\ | /
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
*/
class GenericBlock extends Block{
public function __construct($id, $meta = 0, $name = "Unknown"){
parent::__construct($id, $meta, $name);
}
public function onUpdate(LevelAPI $level, $type){
return false;
}
public function onActivate(LevelAPI $level, Item $item, Player $player){
return false;
}
}