![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Adam Baker 201166301
Dependencies: mbed Gamepad N5110
Diff: BlockheadEngine/BlockheadEngine.h
- Revision:
- 25:230e4163cb6b
- Child:
- 26:3319ddd5111d
diff -r f5dd1f3db693 -r 230e4163cb6b BlockheadEngine/BlockheadEngine.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/BlockheadEngine/BlockheadEngine.h Sun Apr 21 19:50:39 2019 +0000 @@ -0,0 +1,36 @@ +#ifndef BLOCKHEADENGINE_H +#define BLOCKHEADENGINE_H + +#include "mbed.h" +#include "Gamepad.h" +#include "N5110.h" +#include "Runner.h" +#include "Levels.h" +#include "Animation.h" + + +class BlockheadEngine +{ + +public: + + BlockheadEngine(); + ~BlockheadEngine(); + + int playgame(N5110 &lcd, Gamepad &pad); + +private: + + Runner _runner; + Levels _lev; + + Move _move; + Pos _pos; + + + int _init; + + int _gameover; +}; + +#endif \ No newline at end of file