Nemesis game, engine
Diff: Engine.h
- Revision:
- 8:1c0bc1a08153
- Parent:
- 7:4c19433600c8
- Child:
- 9:0efc8d7cdcf7
--- a/Engine.h Thu Apr 06 09:38:06 2017 +0000 +++ b/Engine.h Sun Apr 09 12:46:39 2017 +0000 @@ -25,6 +25,7 @@ ~Engine(); bool dead; + int collisions; void init(int friendly_width,int friendly_height,int ship_size,int speed,N5110 &lcd, Gamepad &pad); void read_input(Gamepad &pad); @@ -47,6 +48,7 @@ void check_death5(N5110 &lcd, Gamepad &pad); void check_death6(N5110 &lcd, Gamepad &pad); void check_death(N5110 &lcd, Gamepad &pad); + void game_over(N5110 &lcd, Gamepad &pad); Friendly _friendly; @@ -57,6 +59,7 @@ int _friendlyx; + Ship1 _ship1; Ship2 _ship2; Ship3 _ship3;