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.
Game/Game.h
- Committer:
- joshdavy
- Date:
- 2019-05-06
- Revision:
- 11:db27d3838514
- Parent:
- 9:96969b1c6bde
- Child:
- 12:5549a299d41e
File content as of revision 11:db27d3838514:
#ifndef GAME_H #define GAME_H /*Game Class*/ #include "mbed.h" #include "N5110.h" #include "Gamepad.h" #include "Sprite.h" #include "Player.h" #include "Level.h" class Game { public: Game(); ~Game(); void init(); void update(Gamepad &pad); void draw(N5110 &lcd); bool game_won(); private: void load_level(int level_number); Player _player; Level _level; int _current_level; bool _game_won; }; #endif