Hi,
I get there, in the second and third line a null pointer exception
Could someone explain me why and how can I fix it
Thanks for help
if(isAtEdge()==true){ getWorld().removeObject(this); getWorld().addObject(new cloud(),spawnX,spawnY);