I want to remove an subclass of an Actor which is added to the Wordl at an certain place:
I made sure with a few tests:
the Location is right
this part (code) is called by the greenfoot system
more infos: the class he sould find is a subbclass (rasemeaher) of a subclass of a subclass of actor
all this subclasses have nothing special
I think the problem will be that the code :
return an actor but there is no actor there is a subclass of actor.
i hope i made myself understand.
if you have any questions just ask I will try to answer, but try to use easy language because I'm german.
getWorld().removeObject(this.getOneObjectAtOffset(getLocationX(),getLocationY(),null));
this.getOneObjectAtOffset(getLocationX(),getLocationY(),null