Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added & applied new background color #8

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
import edu.ycp.cs320.movethesquare.model.Square;

public class GameView extends JPanel {

private static final Color MIDNIGHT_BLUE = new Color(25, 25, 112);
//dherr: new background color Sunset_Red
private static final Color Sunset_Red = new Color(220, 49, 11);
private static final Color RED = new Color(100, 0, 0);

private Game model;
private GameController controller;
Expand All @@ -26,7 +30,9 @@ public class GameView extends JPanel {
public GameView(Game model) {
this.model = model;
setPreferredSize(new Dimension((int) model.getWidth(), (int)model.getHeight()));
setBackground(MIDNIGHT_BLUE);

//dherr: applied new background color
setBackground( Sunset_Red);

// djh2-KEC119-21: changed from 30 to 45
// djh2-YCPlaptop: change from 45 to 100
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
MoveTheSquare
=============

The game engine for the next great indie game.

Expand Down