Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions MoveTheSquare/src/edu/ycp/cs320/movethesquare/ui/GameView.java
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,11 @@ 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 Expand Up @@ -84,8 +92,9 @@ public void run() {
Square square = new Square();
square.setX(300.0);
square.setY(220.0);
square.setWidth(40.0);
square.setHeight(40.0);
//ksmith126 changed the block size
square.setWidth(70.0);
square.setHeight(80.0);
model.setSquare(square);

GameController controller = new GameController();
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