Skip to content

Commit

Permalink
fixes failure
Browse files Browse the repository at this point in the history
  • Loading branch information
EAOZONE committed Apr 19, 2024
1 parent 3053d71 commit d4df961
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions GameWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class GameWindow{
bool paused;
bool leftButtonPressed = false;
bool rightButtonPressed = false;
int numOfFlagsPlaced;
public:
GameWindow(int rows, int cols, int bombs, string name): numOfCols(rows), numOfRows(cols), numOfBombs(bombs), PlayerName(name){
font.loadFromFile("../Project 3 - Minesweeper Spring 2024/files/font.ttf");
Expand Down
1 change: 1 addition & 0 deletions Tile.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class Tile : public GameObject{
setTexture("../Project 3 - Minesweeper Spring 2024/files/images/tile_hidden.png");
setSprite();
state = hidden;

}
}
void openBox(Vector2i mousePosition) {
Expand Down

0 comments on commit d4df961

Please sign in to comment.