game over
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user