ELEC2645 (2019/20) / Mbed 2 deprecated ELEC2645_Project_el19tb

Dependencies:   mbed

Revision:
27:e2af196bd9ab
Parent:
22:17ea297c19b5
--- a/GraphicEngine/GraphicEngine.cpp	Fri May 15 22:16:16 2020 +0000
+++ b/GraphicEngine/GraphicEngine.cpp	Fri May 15 22:47:35 2020 +0000
@@ -27,6 +27,11 @@
     }
 }
 
+void GraphicEngine::drawGoals(int x, int y)
+{
+    lcd.drawSprite(x, y, 8, 8, (int *)end_post);    
+}
+
 void GraphicEngine::drawIndividualSafety(&Safety lane_obj)
 {
     switch(lane_obj.c)