All you need now is an act() method to check to see if the game is over (100 points?).
public void act() { if (counter.getValue() >= 100) gameOver(); }
public void act() { if (counter.getValue() >= 100) gameOver(); }
public void prepare() { counter = new Counter(); user = new concierge(counter); addObject(counter, 54, 23); addObject(user, 120, 80); }
private Counter counter = new Counter(); private consierge user = new consierge(counter); private Saver saver = new Saver(); private ScoreBoard board;