File tree Expand file tree Collapse file tree
MoveTheSquare/src/edu/ycp/cs320/movethesquare/ui Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,8 +28,9 @@ public GameView(Game model) {
2828 setPreferredSize (new Dimension ((int ) model .getWidth (), (int )model .getHeight ()));
2929 setBackground (MIDNIGHT_BLUE );
3030
31- // djh2-KEC119-21: cahnged from 30 to 45
32- this .timer = new Timer (1000 / 45 , new ActionListener () {
31+ // djh2-KEC119-21: changed from 30 to 45
32+ // djh2-YCPlaptop: change from 45 to 100
33+ this .timer = new Timer (1000 / 100 , new ActionListener () {
3334
3435 @ Override
3536 public void actionPerformed (ActionEvent e ) {
@@ -64,7 +65,8 @@ protected void paintComponent(Graphics g) {
6465 super .paintComponent (g ); // paint background
6566
6667 // djh2-KEC110-21: changed from GREEN to RED
67- g .setColor (Color .RED );
68+ // djh2-YCPlaptop: change from RED to YELLOW
69+ g .setColor (Color .YELLOW );
6870
6971 Square square = model .getSquare ();
7072
You can’t perform that action at this time.
0 commit comments