Added Single Explosions [ignite TNT using fling & steel]

This commit is contained in:
Shoghi Cervantes 2013-09-06 13:46:52 +02:00
parent 41b1a0f991
commit 94f8cfb59b
77 changed files with 134 additions and 32 deletions

View file

@ -131,6 +131,7 @@ abstract class Block extends Position{
protected $meta;
protected $name;
protected $breakTime;
protected $hardness;
public $isActivable = false;
public $breakable = true;
public $isFlowable = false;
@ -151,6 +152,11 @@ abstract class Block extends Position{
$this->meta = (int) $meta;
$this->name = $name;
$this->breakTime = 0.20;
$this->hardness = 10;
}
final public function getHardness(){
return ($this->hardness);
}
final public function getName(){