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:
- 2:0b5e289ef905
- Parent:
- 1:928632432ea4
- Child:
- 5:3efbdcb3efaf
--- a/Engine/Engine.h Tue Mar 12 09:32:51 2019 +0000
+++ b/Engine/Engine.h Tue Mar 12 10:22:16 2019 +0000
@@ -1,8 +1,13 @@
#ifndef ENGINE_H
#define ENGINE_H
+#include "Graphics.h"
+#include "Menus.h"
+
class Engine {
private:
+ const float FPS = 30;
+ Game * game;
public:
/* Constructor */
Engine();
@@ -10,11 +15,7 @@
/* Destructor */
~Engine();
- void start();
-
void loop();
-
- void stop();
};
#endif
\ No newline at end of file
