G'day, I'm having trouble with making my Actor eat an objet (Penguin eating chips). heres my code.
It says that it cannot find the symbol.Can anyone help?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | public void act() { checkKeys(); checkFall(); jump(); Eat(); } public void Eat() { if (canSee(Chips. class )); { eat(Chips. class ); } } |