mirror of
https://github.com/felixalbrigtsen/sfml_tetris
synced 2025-01-18 07:16:44 +01:00
Update main.cpp
This commit is contained in:
parent
2cacba211c
commit
a9b42e3dba
3
main.cpp
3
main.cpp
@ -62,6 +62,7 @@ void drawBoard(std::array<int, BOARDSIZE> board) {
|
||||
}
|
||||
|
||||
void drawInfo(std::array<int, 4> info) {
|
||||
//Draw the right half of the screen
|
||||
// In order: Level, Lines, Score, Next piece
|
||||
int level = info[0];
|
||||
int lines = info[1];
|
||||
@ -198,4 +199,4 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user