Hello,
I am absolutly a beginner with Greenfoot.
In the programm, theres a wombat. If the wombat comes
to a tent, it shouldn`t be able to move.
Could please someone tell me the code I have to use for this?
This somehow does not work and maybe makes no sense...
1 2 3 4 | if ( protected boolean intersects(Tent. class )) { move( 0 ) } |