Josh Davy / Mbed 2 deprecated Flip

Dependencies:   mbed el17jd

Revision:
12:5549a299d41e
Parent:
11:db27d3838514
Child:
13:32d580b3935c
--- a/Level/Level.h	Mon May 06 14:43:01 2019 +0000
+++ b/Level/Level.h	Mon May 06 14:52:05 2019 +0000
@@ -7,33 +7,33 @@
 #include "Gamepad.h"
 #include "Bitmap.h"
 #include "LevelDefinitions.h"
+#include "GoalSprite.h"
 
+/**
+* @brief Struct for storing the current location/state of any moving blocks
+*/
 struct MovingBlock {
     int index;
     int distance;
     
     int initial_pos;  
     bool extending;
-    
 
 };
 
-const int goalMap[11][6] = {
-    {0,1,0,0,0,0},
-    {0,1,0,0,0,0},
-    {0,1,1,0,0,0},
-    {0,1,1,1,1,0},
-    {0,1,1,1,1,1},
-    {0,1,1,1,1,0},
-    {0,1,1,0,0,0},
-    {0,1,0,0,0,0},
-    {0,1,0,0,0,0},
-    {0,1,0,0,0,0},
-    {1,1,1,1,0,0}
-};
+/** Level Class
 
-/*Level Class*/
+@brief Class responsible for the handling of levels loading them updating
+their state and rendering them.
+Levels represent each stage of the game including the player initial location
+the goal location and the location of blocks and moving blocks.
+@version 1.0
 
+@author Joshua Davy el17jd
+
+@date April 2019
+
+*/
 
 class Level {