This site requires JavaScript, please enable it in your browser!
Greenfoot back
Gingervitis
Gingervitis wrote ...

2013/2/8

Removing an object at world edge problem

1
2
danpost danpost

2013/2/9

#
The error message does not match your code (your code was changed after the error message was created and before you posted it. These two lines: at SpaceShipDebris5.tryToEatAlien(SpaceShipDebris5.java:49) at SpaceShipDebris5.act(SpaceShipDebris5.java:36) tell me that line 36 is in the 'act' method of the 'SpaceShipDebris5' class and that line 49 is in the 'tryToEatAlien' method. Neither of these are true in the code provided.
danpost danpost

2013/2/9

#
Or, you omitted a bunch of lines.
Gingervitis Gingervitis

2013/2/9

#
I actually just figured out my problem. I changed the coding for several classes and I got it to work.
You need to login to post a reply.
1
2