It might just be my code, but I can't seem to remove an object in my world (a subclass of a scroll world) without throwing an error. I have a square that is added to the world through the main actor, and as it shrinks to 2x2, it deletes itself. This doesn't cause an error on other scenarios for me, so I'm thinking the scroll world has something to do with it. Any help?
getWorld().addObject(square, getX(), getY()); //adding the square from my main actor
getWorld().removeObject(this); //removing the square from the square itself
