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: Game/Game.h
- Revision:
- 9:b272864b8355
- Parent:
- 6:c4d49375be7b
- Child:
- 11:953141c3f7dd
--- a/Game/Game.h Tue Apr 23 16:08:23 2019 +0000 +++ b/Game/Game.h Mon Apr 29 13:46:45 2019 +0000 @@ -6,7 +6,7 @@ #include "Gamepad.h" #include "Smiley.h" #include "Maze.h" -#include "mazeCollisions.h" +#include "mC.h" class Game{ @@ -17,13 +17,14 @@ void init(); void dirmag(Gamepad &pad); void drawSprite(N5110 &lcd); - void movement(Gamepad &pad); + void movement(Gamepad &pad, N5110 &lcd, mC col); private: Smiley smiley; Maze maze; Direction dir; + float mag; int x; int y;