I was wondering how to end the game when the player hits the enemy
any ideas
thanks
if (getOneIntersectingObject(EnemyClassName.class) Greenfoot.stop();
if (getOneIntersectingObject(EnemyClassName.class) != null) Greenfoot.stop();