i have an error execution when my camerafollower is trying to remove one object and the error display this:
java.lang.IllegalStateException: Actor not in world. An attempt was made to use the actor's location while it is not in the world. Either it has not yet been inserted, or it has been removed.
at greenfoot.Actor.failIfNotInWorld(Actor.java:663)
at greenfoot.Actor.getX(Actor.java:157)
at ScrollWorld.setCameraLocation(ScrollWorld.java:243)
at ScrollWorld.moveCamera(ScrollWorld.java:302)
at Bug.act(Bug.java:30)
at greenfoot.core.Simulation.actActor(Simulation.java:565)
at greenfoot.core.Simulation.runOneLoop(Simulation.java:523)
at greenfoot.core.Simulation.runContent(Simulation.java:213)
at greenfoot.core.Simulation.run(Simulation.java:203)
i dont know if what i am doing wrong with the method please help!!!
Recent Comments
2013/5/23
Stratos Fear
2013/4/24
Scrolling world