![](/media/cache/profiles/f16cb71ca1813353fcef2c86431621a7.jpg.50x50_q85.png)
el15mh 200929957
Diff: Maze/Maze.h
- Revision:
- 10:989e5dbd12ee
- Parent:
- 9:960dfc71c224
diff -r 960dfc71c224 -r 989e5dbd12ee Maze/Maze.h --- a/Maze/Maze.h Thu May 04 14:43:29 2017 +0000 +++ b/Maze/Maze.h Thu May 04 17:39:23 2017 +0000 @@ -1,15 +1,15 @@ -/** Maze Class - @brief Class contains all the mazes in the form of many series of lines. - @author Max Houghton - @date March 19 2017 - */ - #ifndef MAZE_H #define MAZE_H #include "mbed.h" #include "N5110.h" +/** + @brief Maze Class contains all the mazes in the form of many series of lines. + @author Max Houghton + @date March 19 2017 + */ + class Maze { @@ -28,14 +28,14 @@ /** Initialise the maze * * @details - maze object is initialised with specific maze index value - * @param - mazeIndex - int to select which maze shall be drawn. + * @param mazeIndex - int to select which maze shall be drawn. */ void init(int mazeIndex); /** Draw * * @details - Maze is drawn on LCD screen. - * @param - lcd - N5110 Library used to draw lines and set pixels which make up maze. + * @param lcd - N5110 Library used to draw lines and set pixels which make up maze. */ void draw(N5110 &lcd); @@ -44,7 +44,7 @@ /** Maze Zero * * @details - Adding lines and pixels to lcd buffer which make up first maze (index 0). This is easy maze 1. - * @param - lcd - N5110 Library used to draw lines and pixels. + * @param lcd - N5110 Library used to draw lines and pixels. * */ void mazeIndexZero(N5110 &lcd); @@ -52,7 +52,7 @@ /** Maze One * * @details - Adding lines and pixels to lcd buffer which make up first maze (index 1). This is easy maze 2. - * @param - lcd - N5110 Library used to draw lines and pixels. + * @param lcd - N5110 Library used to draw lines and pixels. * */ void mazeIndexOne(N5110 &lcd); @@ -61,7 +61,7 @@ /** Maze Two * * @details - Adding lines and pixels to lcd buffer which make up first maze (index 2). This is easy maze 3. - * @param - lcd - N5110 Library used to draw lines and pixels. + * @param lcd - N5110 Library used to draw lines and pixels. * */ void mazeIndexTwo(N5110 &lcd); @@ -69,7 +69,7 @@ /** Maze Three * * @details - Adding lines and pixels to lcd buffer which make up first maze (index 3). This is medium maze 1. - * @param - lcd - N5110 Library used to draw lines and pixels. + * @param lcd - N5110 Library used to draw lines and pixels. * */ void mazeIndexThree(N5110 &lcd); @@ -77,7 +77,7 @@ /** Maze Four. * * @details - Adding lines and pixels to lcd buffer which make up first maze (index 4). This is medium maze 2. - * @param - lcd - N5110 Library used to draw lines and pixels. + * @param lcd - N5110 Library used to draw lines and pixels. * */ void mazeIndexFour(N5110 &lcd); @@ -85,7 +85,7 @@ /** Maze Five. * * @details - Adding lines and pixels to lcd buffer which make up first maze (index 5). This is medium maze 3. - * @param - lcd - N5110 Library used to draw lines and pixels. + * @param lcd - N5110 Library used to draw lines and pixels. * */ void mazeIndexFive(N5110 &lcd); @@ -94,7 +94,7 @@ /** Maze Six. * * @details - Adding lines and pixels to lcd buffer which make up first maze (index 6). This is hard maze 1. - * @param - lcd - N5110 Library used to draw lines and pixels. + * @param lcd - N5110 Library used to draw lines and pixels. * */ void mazeIndexSix(N5110 &lcd); @@ -102,7 +102,7 @@ /** Maze Seven. * * @details - Adding lines and pixels to lcd buffer which make up first maze (index 7). This is hard maze 2. - * @param - lcd - N5110 Library used to draw lines and pixels. + * @param lcd - N5110 Library used to draw lines and pixels. * */ void mazeIndexSeven(N5110 &lcd); @@ -110,7 +110,7 @@ /** Maze Eight. * * @details - Adding lines and pixels to lcd buffer which make up first maze (index 8). This is hard maze 3. - * @param - lcd - N5110 Library used to draw lines and pixels. + * @param lcd - N5110 Library used to draw lines and pixels. * */ void mazeIndexEight(N5110 &lcd); @@ -118,14 +118,14 @@ /** Maze Nine. * * @details - Adding lines and pixels to lcd buffer which make up first maze (index 9). This is the extreme version maze. - * @param - lcd - N5110 Library used to draw lines and pixels. + * @param lcd - N5110 Library used to draw lines and pixels. * */ void mazeIndexNine(N5110 &lcd); /** * @details - Index value which is used in draw() function to allow the desired maze to be drawn. - * @param - _mazeIndex - integer to specify desired maze. + * @param _mazeIndex - integer to specify desired maze. */ int _mazeIndex; };