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: MazeEngine/MazeEngine.cpp
- Revision:
- 19:c6ebd1394bda
- Parent:
- 17:68d4b4095d80
- Child:
- 20:041affa5e242
diff -r d18b9185fa4f -r c6ebd1394bda MazeEngine/MazeEngine.cpp --- a/MazeEngine/MazeEngine.cpp Tue May 08 10:52:21 2018 +0000 +++ b/MazeEngine/MazeEngine.cpp Tue May 08 11:32:13 2018 +0000 @@ -8,4 +8,21 @@ MazeEngine::~MazeEngine() { +} + +void MazeEngine::init() +{ + +} + +void MazeEngine::read_input(Gamepad &pad) +{ + _d = pad.get_direction(); +} + +void MazeEngine::draw(N5110 &lcd) +{ + // draw the elements in the LCD buffer + // maze + _maze.draw(lcd); } \ No newline at end of file