Skip to content

Commit

Permalink
Reverts mine set up
Browse files Browse the repository at this point in the history
  • Loading branch information
EAOZONE committed Apr 22, 2024
1 parent 5dc240f commit 2e8fea8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Board.h
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ void calculateNearbyBombs(){
bool getAllOpen(){
return allOpen;
}

sf::Sprite getFlag(int i, int j){
return board[i][j]->flagSprite.sprite;
}
Expand Down
1 change: 1 addition & 0 deletions Leaderboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ class LeaderBoard : public Button {
if (event.type == sf::Event::Closed) {
window.close();
}

sf::Text leaderBoardLine = drawWord("LeaderBoard", numOfCols*8, numOfRows*8-120, 20);
sf::Text leaderBoardContents = drawWord(leaderBoard, numOfCols*8, numOfRows*8 + 20, 18);
window.clear(sf::Color::Blue);
Expand Down

0 comments on commit 2e8fea8

Please sign in to comment.