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: Game/Game.h
- Revision:
- 11:db27d3838514
- Parent:
- 9:96969b1c6bde
- Child:
- 12:5549a299d41e
--- a/Game/Game.h Mon May 06 10:11:42 2019 +0000 +++ b/Game/Game.h Mon May 06 14:43:01 2019 +0000 @@ -1,4 +1,4 @@ -#ifndef GAME_H + #ifndef GAME_H #define GAME_H /*Game Class*/ @@ -8,7 +8,7 @@ #include "Sprite.h" #include "Player.h" #include "Level.h" -#include "LevelDefinitions.h" + @@ -19,13 +19,12 @@ ~Game(); void init(); void update(Gamepad &pad); - void draw(N5110 &lcd); - void load_level(int level_number); + void draw(N5110 &lcd); bool game_won(); private: - Direction _d; - float _mag; + void load_level(int level_number); + Player _player; Level _level; int _current_level;