Update main.cpp

This commit is contained in:
felixalbrigtsen 2020-05-04 23:23:16 +02:00 committed by GitHub
parent 2cacba211c
commit a9b42e3dba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,6 +62,7 @@ void drawBoard(std::array<int, BOARDSIZE> board) {
} }
void drawInfo(std::array<int, 4> info) { void drawInfo(std::array<int, 4> info) {
//Draw the right half of the screen
// In order: Level, Lines, Score, Next piece // In order: Level, Lines, Score, Next piece
int level = info[0]; int level = info[0];
int lines = info[1]; int lines = info[1];
@ -198,4 +199,4 @@ int main(int argc, char *argv[]) {
return 0; return 0;
} }