khoa phan test

Dependencies:   4DGL-uLCD-SE MMA8452 mbed wave_player

Fork of rpg_game_shell by ECE 2035 TA

Revision:
2:2f32fe4dadab
Parent:
0:35660d7952f7
--- a/map.h	Wed Apr 04 21:11:07 2018 +0000
+++ b/map.h	Sun Apr 22 02:27:42 2018 +0000
@@ -55,6 +55,11 @@
 // Define more of these!
 #define WALL    0
 #define PLANT   1
+#define NPC     2
+#define APPLE   3
+#define POIAPPLE 4
+#define DOOR 5
+#define KEY 6
 
 /**
  * Initializes the internal structures for all maps. This does not populate
@@ -149,6 +154,17 @@
  * Add a PLANT item at (x,y). If there is already a MapItem at (x,y), erase it
  * before adding the plant.
  */
-void add_plant(int x, int y);
+void add_plant(int x, int y, int dir, int len);
+
+void add_NPC(int x, int y);
+
+void add_apple(int x, int y);
 
+void add_poiapple(int x, int y);
+
+void add_door(int x, int y);
+
+void add_key(int x, int y);
+
+void deleteHere(int x, int y);
 #endif //MAP_H
\ No newline at end of file