ELEC2645 (2018/19) / Mbed 2 deprecated el17dg

Dependencies:   mbed

Fork of el17dg by Dmitrijs Griskovs

Revision:
26:676874c42883
Parent:
25:749f1efc31fc
Child:
27:f05f4e738ba9
--- a/game/game.h	Wed Apr 03 12:46:04 2019 +0000
+++ b/game/game.h	Sat Apr 06 20:13:33 2019 +0000
@@ -3,9 +3,10 @@
 
 #include "geometry.h"
 extern int game_score;
-extern int game_score;
+extern int score_count_for_difficulty;
 extern int player_lifes;
 extern bool red_led_state;
+extern bool game_over;
 extern int red_led_flashing;
 
 class Game{
@@ -16,6 +17,8 @@
     void collideEnemiesAndBlasts();
     void collideEnemiesBlastsAndPlayer();
     void collideEnemiesAndPlayer();
+    void starsSpawnDelay();
+    void increaseGameDifficultyAndEnemySpawnDelay();
     void gameOver();
 };