Hi i have a GameWorld that has a Score count and a Life count. I create a new GameOver world when the life is 0, it is any way to transfer the score to the game over world to say how many points i had?
Thx
// change this line public GameOver() // to this public GameOver(int finalScore)
// where you have Greenfoot.setWorld(new GameOver()); // change it to Greenfoot.setWorld(new GameOver(/** get score to here */));