I have the counter.class to work for adding score. But how do I get the counter to show the number of lives at 3? I have this in the world class to generate the counter in the world:
Scenario with source added: http://www.greenfoot.org/scenarios/8881
1 2 3 4 | scoreCounter = new Counter ( "Score" ); addObject(scoreCounter, 1035 , 21 ); lifeCounter = new Counter ( "Life" ); addObject(lifeCounter, 1027 , 51 ); |