game over

This commit is contained in:
2024-03-22 12:00:23 +01:00
parent 611c56b329
commit 10a09e3ad3

View File

@ -35,7 +35,7 @@ void gameExec(void *handle) {
// --- engine begin ------------------------------------------------------- // --- engine begin -------------------------------------------------------
switch (state) { switch (state) {
// --- game --------------------------------------------------------------- // --- phase: game --------------------------------------------------------
case e_Start: case e_Start:
canvasClear(); canvasClear();
level = 1; level = 1;
@ -74,7 +74,7 @@ void gameExec(void *handle) {
} }
break; break;
// --- game over ---------------------------------------------------------- // --- phase: game over ---------------------------------------------------
case e_GameOver: case e_GameOver:
rowIndex = CANVAS_HEIGHT; rowIndex = CANVAS_HEIGHT;
phase = e_Phase_GameOver; phase = e_Phase_GameOver;