Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Map/Map.h
- Revision:
- 12:1c0b6796aaca
- Parent:
- 11:ab578a151f67
- Child:
- 13:12276eed13ac
--- 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