Game For ECE 2035
Dependencies: mbed wave_player 4DGL-uLCD-SE MMA8452
Diff: map.h
- Revision:
- 6:c9695079521d
- Parent:
- 0:35660d7952f7
- Child:
- 7:862062ffca62
diff -r 2f34484325bc -r c9695079521d map.h --- a/map.h Tue Oct 12 15:26:32 2021 +0000 +++ b/map.h Fri Nov 19 22:03:25 2021 +0000 @@ -55,6 +55,13 @@ // Define more of these! #define WALL 0 #define PLANT 1 +#define NPC 2 +#define CHEST 3 +#define CASTL 4 +#define PORTAL 5 + + + /** * Initializes the internal structures for all maps. This does not populate @@ -145,6 +152,16 @@ */ void add_wall(int x, int y, int dir, int len); +//, int dir, int len + +void add_castle(int x, int y); + +void add_chest(int x, int y); + +void add_npc(int x, int y); + +void add_portal(int x, int y); + /** * Add a PLANT item at (x,y). If there is already a MapItem at (x,y), erase it * before adding the plant.