Class containing all the bitmaps for the 10 different mazes used throughout the game.
Maze.h
- Committer:
- el15mh
- Date:
- 2017-05-03
- Revision:
- 2:834bd321a30d
- Parent:
- 1:8ed19eb9e7e5
- Child:
- 3:8547399e8c29
File content as of revision 2:834bd321a30d:
/* @file Maze.h (c) Max Houghton 19.03.17 Roller Maze Project, ELEC2645, Univeristy of Leeds */ #ifndef MAZE_H #define MAZE_H #include "mbed.h" #include "N5110.h" class Maze { public: // constructor & destructor Maze(); ~Maze(); // initialisation method // desired maze is selected here void init(int mazeIndex); void draw(N5110 &lcd); private: void testMaze(N5110 &lcd); void mazeIndexZero(N5110 &lcd); void mazeIndexOne(N5110 &lcd); void mazeIndexTwo(N5110 &lcd); void mazeIndexThree(N5110 &lcd); void mazeIndexFour(N5110 &lcd); void mazeIndexFive(N5110 &lcd); void mazeIndexSix(N5110 &lcd); void mazeIndexSeven(N5110 &lcd); void mazeIndexEight(N5110 &lcd); void mazeIndexNine(N5110 &lcd); int _mazeIndex; }; #endif /* MAZE_H */