if an actor touches an another actor i want to the game to send me to an another world
if (this.isTouching(AnotherActor.class)) Greenfoot.setWorld(new AnotherWorld());
if (isTouching(Actor.class)) {
removeObject(this);
}if (isTouching(Actor.class)) {
getWorld().removeObject(this);
}