diff --git a/MoveTheSquare/src/edu/ycp/cs320/movethesquare/ui/GameView.java b/MoveTheSquare/src/edu/ycp/cs320/movethesquare/ui/GameView.java index 0e975cd..4f8a7a7 100644 --- a/MoveTheSquare/src/edu/ycp/cs320/movethesquare/ui/GameView.java +++ b/MoveTheSquare/src/edu/ycp/cs320/movethesquare/ui/GameView.java @@ -28,7 +28,8 @@ public GameView(Game model) { setPreferredSize(new Dimension((int) model.getWidth(), (int)model.getHeight())); setBackground(MIDNIGHT_BLUE); - this.timer = new Timer(1000 / 30, new ActionListener() { + // djh2-KEC119-21: cahnged from 30 to 45 + this.timer = new Timer(1000 / 45, new ActionListener() { @Override public void actionPerformed(ActionEvent e) { @@ -62,7 +63,8 @@ protected void handleTimerTick() { protected void paintComponent(Graphics g) { super.paintComponent(g); // paint background - g.setColor(Color.GREEN); + // djh2-KEC110-21: changed from GREEN to RED + g.setColor(Color.RED); Square square = model.getSquare();