Game For ECE 2035
Dependencies: mbed wave_player 4DGL-uLCD-SE MMA8452
Diff: graphics.h
- Revision:
- 6:c9695079521d
- Parent:
- 0:35660d7952f7
- Child:
- 7:862062ffca62
--- a/graphics.h Tue Oct 12 15:26:32 2021 +0000 +++ b/graphics.h Fri Nov 19 22:03:25 2021 +0000 @@ -2,6 +2,7 @@ #define GRAPHICS_H + /** * Draws the player. This depends on the player state, so it is not a DrawFunc. */ @@ -33,16 +34,25 @@ /** * Draw the upper status bar. */ -void draw_upper_status(); +void draw_upper_status(int x, int y); /** * Draw the lower status bar. */ -void draw_lower_status(); +void draw_lower_status(int hp, int mp); /** * Draw the border for the map. */ void draw_border(); +void draw_npc(int u, int v); + +void draw_chest(int u , int v); + +void draw_castle(int u, int v); + +void draw_portal(int u, int v); + + #endif // GRAPHICS_H \ No newline at end of file