Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of el17ajf by
Diff: Engine/Engine.h
- 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();
};
