Library containing the Game Engine
GameEngine.h
- Committer:
- ll14c4p
- Date:
- 2017-04-24
- Revision:
- 0:5997fa876927
- Child:
- 1:13a97de95e46
File content as of revision 0:5997fa876927:
#ifndef GAMEENGINE_H #define GAMEENGINE_H #include "mbed.h" #include "N5110.h" #include "Gamepad.h" #include "Player.h" class GameEngine { public: GameEngine(); ~GameEngine(); void init( ); void read_input(Gamepad &pad); void update(Gamepad &pad); void draw(N5110 &lcd); private: Player _p; int _speed; Direction _d; float _mag; }; #endif