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
Diff: Level1/Level1.h
- Revision:
- 21:7a7a115d910d
- Parent:
- 20:78bd235f8caa
- Child:
- 23:1ee8686af747
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Level1/Level1.h Wed Apr 03 01:17:38 2019 +0000 @@ -0,0 +1,28 @@ +#ifndef Level1_H +#define Level1_H + +#include "mbed.h" +#include "N5110.h" +#include "Gamepad.h" +#include "Levelengine.h" + +class Level1 +{ +public: + + Level1(); + ~Level1(); + void level_platforms(N5110 &lcd); + void soft_blocks(N5110 &lcd); + void solid_blocks(N5110 &lcd); + int spikes(N5110 &lcd); + void keys(N5110 &lcd, Gamepad &pad); + int keys_collected(); + bool level1_exit(N5110 &lcd); + +private: + + Levelengine _level; + +}; +#endif \ No newline at end of file