multiplayer pong game for LPC 1768
Dependencies: mbed MbedJSONValue mbed-rtos Adafruit_ST7735 Adafruit_GFX EthernetInterface DebouncedInterrupt
Diff: graphics.cpp
- Revision:
- 18:32fce82690a1
- Parent:
- 17:32ae1f106002
- Child:
- 19:58cc5465f647
--- a/graphics.cpp Sat Nov 14 02:37:13 2020 +0000 +++ b/graphics.cpp Sun Nov 15 21:55:35 2020 +0000 @@ -17,6 +17,12 @@ tft->printf("%s", "Press any button to continue."); } +void Graphics::renderWaitingRoom() { + tft->fillScreen(ST7735_GREEN); + tft->setTextCursor(20, 20); + tft->printf("%s", "Waiting For Player"); +} + void Graphics::renderBall(GameState *gs) { }