Ben Evans / Mbed 2 deprecated Defender_Game

Dependencies:   mbed

Revision:
12:1c0b6796aaca
Parent:
11:ab578a151f67
Child:
13:12276eed13ac
diff -r ab578a151f67 -r 1c0b6796aaca Map/Map.h
--- a/Map/Map.h	Thu Apr 23 18:17:28 2020 +0000
+++ b/Map/Map.h	Fri Apr 24 19:09:22 2020 +0000
@@ -4,7 +4,7 @@
 /////////////// Include libraries ///////////////
 #include "mbed.h"
 #include "N5110.h"
-#include "Gamepad.h"
+
 
 
 /** Map class
@@ -66,13 +66,17 @@
         void check_duplicates_map_backwards(N5110 &lcd);
     
     /////////////// Variables ///////////////
-     
+    
+        // Map x postion on lcd
         int position_x_map_;
         
+        // Map y postion on lcd
         int position_y_map_;
         
+        // Float to store random seed for random function 
         float rand_seed_;
         
+        // Map length 
         int map_length_;
         
         // Arrays to hold random heights of triangles and lengths of lines