ELEC2645 (2018/19) / Mbed 2 deprecated el17dg

Dependencies:   mbed

Fork of el17dg by Dmitrijs Griskovs

Revision:
21:0eb394495b8a
Parent:
20:557e84189a57
Child:
22:4dc3c95f2146
--- a/game/game.h	Tue Mar 26 10:52:53 2019 +0000
+++ b/game/game.h	Wed Mar 27 00:00:32 2019 +0000
@@ -1,12 +1,22 @@
 #ifndef GAME_H
 #define GAME_H
 
+#include "geometry.h"
+
 class Game{
 public:
+    Game();
     bool updateAndDraw();  
-    bool checkGameOver();
-    //void gameValuesInit();
+    void startNewGame();
 private:
+    void collideEnemiesAndBlasts();
+    void fireNewBlast();
+    void collideEnemiesBlastsAndPlayer();
+    void updateAndDrawBlasts();
+    void shipMovment();
+
+    CircleBounds player_bounds;
+    CircleBounds blast_bounds;
 };