ELEC2645 (2018/19) / Mbed 2 deprecated el17ajf

Dependencies:   mbed

Fork of el17ajf by Angus Findlay

Revision:
6:a54df561f442
Parent:
5:3efbdcb3efaf
Child:
8:5066ce13a430
diff -r 3efbdcb3efaf -r a54df561f442 Engine/Engine.h
--- a/Engine/Engine.h	Wed Mar 13 09:30:36 2019 +0000
+++ b/Engine/Engine.h	Thu Mar 14 12:08:10 2019 +0000
@@ -2,14 +2,14 @@
 #define ENGINE_H
 
 #include "Graphics.h"
-//#include "Menus.h"
+#include "Menus.h"
 #include "Game.h"
 #include "Input.h"
 
 class Engine {
 private:
     const float FPS = 30;
-    Game * game;
+    Game game;
 public:
     /* Constructor */
     Engine();
@@ -17,6 +17,7 @@
     /* Destructor */
     ~Engine();
     
+    /* Game loop */
     void loop();
 };