![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
test 1 doc
Diff: Engine/Engine.h
- Revision:
- 12:eb8d30593e95
- Parent:
- 11:b3024ab59fa5
- Child:
- 13:cb5ed2f0cbd5
--- a/Engine/Engine.h Wed May 27 03:52:11 2020 +0000 +++ b/Engine/Engine.h Wed May 27 04:22:47 2020 +0000 @@ -25,9 +25,13 @@ void draw(N5110 &lcd); void floorCollide(); void spawnEnemy(); - bool enemyCollide(); + bool enemyCollide(); + bool fellDown(); + bool koed(); void gameOver(N5110 &lcd); - bool ko; + void coinTaken(); + + private: @@ -39,6 +43,9 @@ Vector2D player; + // coin object + Coin coin; + //gamepad Direction _d; float _mag; @@ -52,6 +59,9 @@ //enemy vector <Enemy> enemies; + bool ko1; + bool ko2; + };