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 N5110 ShiftReg PinDetect
Diff: Game.h
- Revision:
- 7:678873947b29
- Parent:
- 5:100d960fc6d5
- Child:
- 8:9ac6a428fa26
--- a/Game.h Fri May 01 09:44:38 2015 +0000
+++ b/Game.h Fri May 01 18:10:59 2015 +0000
@@ -1,14 +1,16 @@
#ifndef GAME_H
#define GAME_H
+#include "State.h"
+
class Game : public State
{
public:
Game(StateManager* fsm, N5110 *lcd, InputManager* input)
: State(fsm, lcd, input) {init();}
- virtual void update(time_t dt) {}
- virtual void render() {}
+ virtual void update(float dt);
+ virtual void render();
private:
void init() {}