Zixuan Kang / Mbed 2 deprecated rpg_game

Dependencies:   mbed wave_player 4DGL-uLCD-SE MMA8452

Files at this revision

API Documentation at this revision

Comitter:
rashidi1saeed
Date:
Mon Oct 28 04:56:07 2019 +0000
Parent:
1:399033d39feb
Child:
3:e4690ad5a4d2
Commit message:
Added more comments

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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()
 {