early breeding classes, it still doesnt work although it might be implemented later

This commit is contained in:
GameHerobrine 2022-06-17 19:49:36 +03:00
parent 7ec27bfb04
commit d7bfd96739
7 changed files with 22 additions and 5 deletions

View file

@ -9,7 +9,9 @@ class Cow extends Animal{
//$this->setName('Cow');
$this->size = $this->isBaby() ? 0.65 : 1.4;
}
public function isFood($id){
return $id === WHEAT;
}
public function getDrops(){
return $this->isBaby() ? array() :