Highscore + highscore bar added + life bar

This commit is contained in:
Remco
2015-05-28 14:48:29 +02:00
parent a7c52c04b6
commit 7263442ea3
3 changed files with 30 additions and 12 deletions
+4 -4
View File
@@ -12,14 +12,14 @@ import control.button.ButtonHandler;
public class GameModel implements ActionListener{
private GameView view;
private Timer update;
public static Color[] colors = {Color.MAGENTA,Color.RED,Color.GREEN,Color.YELLOW,Color.CYAN,Color.BLUE};
public static Color[] colors = {Color.MAGENTA,Color.RED,Color.GREEN,Color.YELLOW,Color.CYAN,Color.WHITE};
private GameStateManager gsm;
public GameModel(GameView view,GameStateManager gsm)
public GameModel(GameStateManager gsm)
{
this.view = view;
this.gsm = gsm;
update = new Timer(1000/30, this);
update.start();