Class containing all the bitmaps for the 10 different mazes used throughout the game.
Diff: Maze.h
- Revision:
- 1:8ed19eb9e7e5
- Parent:
- 0:d5a32831fa28
- Child:
- 2:834bd321a30d
diff -r d5a32831fa28 -r 8ed19eb9e7e5 Maze.h --- a/Maze.h Tue Apr 04 10:30:22 2017 +0000 +++ b/Maze.h Fri Apr 07 10:28:57 2017 +0000 @@ -1,6 +1,6 @@ // // maze.h -// +// // // Created by Max Houghton on 19/03/2017. // @@ -17,16 +17,25 @@ public: + // constructor & destructor Maze(); ~Maze(); + // initialisation method + // desired maze is selected here + void init(int mazeIndex); + + void draw(N5110 &lcd); + + +private: + void drawBox(N5110 &lcd); void drawTest(N5110 &lcd); void drawMazeOne(N5110 &lcd); void drawMazeTwo(N5110 &lcd); - -private: + int _mazeIndex; };