![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
test 1 doc
Diff: main.cpp
- Revision:
- 12:eb8d30593e95
- Parent:
- 11:b3024ab59fa5
- Child:
- 14:58887d7e1072
--- a/main.cpp Wed May 27 03:52:11 2020 +0000 +++ b/main.cpp Wed May 27 04:22:47 2020 +0000 @@ -52,11 +52,13 @@ engine.update(pad); //update physics and calculations display(); //display on screen wait(1.0f/fps); //wait for fps - gameState = engine.enemyCollide(); + gameState = engine.koed(); } + while( player.get_pos().y < HEIGHT){ engine.gameOver(lcd); lcd.refresh(); } +} //initialisation void init()