Ok this is like a bullet image coming out of the Player's gun or Player and I'm having trouble making it happen. I don't have the code for it because i have no idea at all. I need help!
/**
* Check whether we can see Survivor. If we can, eat it.
*/
public void tryToEatSurvivor()
{
if (canSee(Survivor.class) )
{
eat(Survivor.class);
Greenfoot.playSound("game-over.wav");
Greenfoot.stop();
}
}