don't render when paused
This commit is contained in:
@@ -86,6 +86,9 @@ void startGame(Board &board)
|
|||||||
displayChar = 'X';
|
displayChar = 'X';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isPaused)
|
||||||
|
displayChar = '#';
|
||||||
|
|
||||||
if (x == cursorX && y == cursorY)
|
if (x == cursorX && y == cursorY)
|
||||||
{
|
{
|
||||||
attron(A_REVERSE);
|
attron(A_REVERSE);
|
||||||
|
|||||||
Reference in New Issue
Block a user