Game For ECE 2035
Dependencies: mbed wave_player 4DGL-uLCD-SE MMA8452
Diff: map.cpp
- Revision:
- 4:37d3935365f8
- Parent:
- 0:35660d7952f7
- Child:
- 6:c9695079521d
--- a/map.cpp Mon Oct 28 05:26:35 2019 +0000 +++ b/map.cpp Tue Sep 28 13:52:11 2021 +0000 @@ -6,6 +6,13 @@ /** * The Map structure. This holds a HashTable for all the MapItems, along with * values for the width and height of the Map. + * In this file you need to define how the map will be structured. IE how will + * you put values into the map, pull them from the map. Remember a "Map" variable + * is a hashtable plus two ints (see below) + * You will have more than one map variable, one will be the main map with it's own hashtable. + * Then you'll have a second map with another hashtable + * You should store objects into the hashtable with different properties (spells + * etc) */ struct Map { HashTable* items;