Game For ECE 2035
Dependencies: mbed wave_player 4DGL-uLCD-SE MMA8452
Diff: main.cpp
- Revision:
- 2:1ca97843a334
- Parent:
- 0:35660d7952f7
- Child:
- 3:e4690ad5a4d2
--- a/main.cpp Wed Apr 04 21:11:07 2018 +0000 +++ b/main.cpp Mon Oct 28 04:56:07 2019 +0000 @@ -20,6 +20,7 @@ int x,y; // Current locations int px, py; // Previous locations int has_key; + // You can add other properties for the player here } Player; /** @@ -142,7 +143,8 @@ /** * Initialize the main world map. Add walls around the edges, interior chambers, - * and plants in the background so you can see motion. + * and plants in the background so you can see motion. Note: using the similar + * procedusre you can init the secondary map(s). */ void init_main_map() {