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.
MazeEngine/MazeEngine.h
- Committer:
- ahmedhedait
- Date:
- 2018-05-08
- Revision:
- 19:c6ebd1394bda
- Parent:
- 18:d18b9185fa4f
- Child:
- 20:041affa5e242
File content as of revision 19:c6ebd1394bda:
#ifndef MAZEENGINE_H
#define MAZEENGINE_H
#include "mbed.h"
#include "N5110.h"
#include "Gamepad.h"
#include "Maze.h"
#include "Ball.h"
class MazeEngine
{
public:
MazeEngine();
~MazeEngine();
void init();
void read_input(Gamepad &pad);
void draw(N5110 &lcd);
private:
Maze _maze;
Direction _d;
};
#endif