I have a lot of coding in my game and specific things that I used in the beginning of the game glitch later on and don't work properly.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 | public void act() { ifCanSeeTurtle(); } public void ifCanSeeTurtle() { if (canSee(Turtle. class )) { eat(Turtle. class ); setImage( "rocketCopy02.png" ); move( 4 ); } } |