I was trying to put the code into this code
((Start)getWorld().getObjects(Start.class).get(0)).decScore();
else if (atWorldEdge())
{
getWorld().removeObject(this);
}
