![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Adam Baker 201166301
Dependencies: mbed Gamepad N5110
BlockheadEngine/BlockheadEngine.h
- Committer:
- adambakerwa
- Date:
- 2019-05-05
- Revision:
- 36:6f452777b9ce
- Parent:
- 35:7d69c0822ea9
- Child:
- 38:51ed5820ffe5
File content as of revision 36:6f452777b9ce:
#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(); void init(); void continueInit(); int playgame(N5110 &lcd, Gamepad &pad); int highscore(); private: Runner _runner; Levels _lev; Pos _pos; int _gameover; int _level; int _highscore; }; #endif