ok when i press space it says spawning rocket
public void stop()
{
if(!getIntersectingObjects(Grounds.class).isEmpty())
{
shootingSpeed=0;
animateExplodes();
stopRemove();
}
else
{
shootingSpeed=8;
}
}