Adventure game written for ECE2035 at the Georgia Institute of Technology
Dependencies: mbed wave_player 4DGL-uLCD-SE MMA8452
Diff: graphics.cpp
- Revision:
- 3:289762133fd6
- Parent:
- 2:0876296d9473
- Child:
- 4:cdc54191ff07
--- a/graphics.cpp Tue Apr 17 17:17:20 2018 +0000 +++ b/graphics.cpp Wed Apr 18 20:18:51 2018 +0000 @@ -55,6 +55,12 @@ uLCD.filled_rectangle(u, v, u+10, v+10, BLACK); } +void draw_house_floor(int u, int v) +{ + // Fill a tile with brown (wood) + uLCD.filled_rectangle(u, v, u+10, v+10, BROWN); +} + void draw_wall(int u, int v) { uLCD.filled_rectangle(u, v, u+10, v+10, BLUE);