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.
Diff: Engine/Engine.cpp
- Revision:
- 1:a14415de3ad5
- Child:
- 2:9ca5e1c221c3
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Engine/Engine.cpp Mon Apr 16 09:07:17 2018 +0000 @@ -0,0 +1,32 @@ +#include "Engine.h" + +Engine::Engine() +{ + +} + +Engine::~Engine() +{ + +} + +void Engine::init() +{ + // initialise the game parameters +} + +void Engine::read_input(Gamepad &pad) +{ + _d = pad.get_direction(); + _mag = pad.get_mag(); +} + +void Engine::draw(N5110 &lcd) +{ + +} + +void Engine::update(Gamepad &pad) +{ + +}