BogdanMicu wrote...
How do I figure out which level was active before the world switched? If not with isActive(), then how?
danpost wrote...
instead of getWorld(), you would use the name of the field.if(getWorld() instanceof Lume)
if(getWorld() instanceof Lume)
while (isTouching(Actor.class)) ...
while (isTouching(Actor.class)) ...