Added on/off handling for buttons and levers

This commit is contained in:
Dylan K. Taylor
2018-09-26 19:19:35 +01:00
parent ebf5ccea8a
commit f2c960cfd8
4 changed files with 41 additions and 1 deletions

View File

@ -38,4 +38,8 @@ class StoneButton extends Button{
public function getToolType() : int{
return BlockToolType::TYPE_PICKAXE;
}
protected function getActivationTime() : int{
return 20;
}
}