how to make coding that display each of that after game.
public <actor name>(boolean hasWon)
{
GreenfootImage img = new GreenfootImage(<(int) width>, <(int) height>);
//Put whatever commands in here to change the image into how you want to look (see [url=http://www.greenfoot.org/files/javadoc/greenfoot/GreenfootImage.html]here[/url] for the javadoc if you don't know the methods)
setImage(img);
}public <actor name>(boolean hasWon)
{
if(hasWon)
{
setImage("Won.png"); //Change the "Won.png" to whatever the name of your winning image is
}
else //They've lost
{
setImage("Lost.png"); //Obviously the same is true here as for the "Won.png"
}
}