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
GameEngine/GameEngine.h
- Committer:
- RehamFaqehi
- Date:
- 2018-04-18
- Revision:
- 3:489437d4ebd7
- Parent:
- 2:3fd0d3d69556
- Child:
- 4:8c6723798227
File content as of revision 3:489437d4ebd7:
#ifndef GameEngine_H #define GameEngine_H #include "mbed.h" #include "N5110.h" #include "Gamepad.h" #include "Rocket.h" class GameEngine { public: GameEngine(); ~GameEngine(); void init(); void read_input(Gamepad &g_pad); void draw(N5110 &lcd); void update(Gamepad &pad, N5110 &lcd); private: Rocket _rocket; Direction _d; float _mag; }; #endif