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.
Hello evryone,
my code threw an
when i used the addObject tag.
This is the line where the error happens:
I don't understand this Problem, because the Actor will just be placed in the world...
1 | java.lang.IllegalStateException |
1 | getWorld().addObject( new factorydefinition( "button" , "waste" , "categorys" ),getX()- 114 ,getY()); |