attackEntity method was added

This commit is contained in:
GameHerobrine 2023-01-23 11:38:40 +03:00
parent 89ee29a30a
commit 45b36cb034
4 changed files with 50 additions and 40 deletions

View file

@ -22,6 +22,8 @@ class Creeper extends Monster{
$this->setState($v === null ? !$this->getState() : $v);
}
/**
* @return boolean
*/
@ -74,4 +76,4 @@ class Creeper extends Monster{
[GUNPOWDER, 0, mt_rand(0,2)]
];
}
}
}