ELEC2645 (2019/20) / Mbed 2 deprecated ELEC2645_Project_el18jgb

Dependencies:   mbed

Revision:
19:33c77517cb88
Parent:
18:c600a6545e81
Child:
21:a0f3651f56c4
--- a/Aim/Aim.cpp	Wed May 20 14:37:02 2020 +0000
+++ b/Aim/Aim.cpp	Thu May 21 13:54:14 2020 +0000
@@ -130,4 +130,8 @@
     return p;    
 }
 
+void Aim::set_pos(int x, int y) {
+    _x = x;
+    _y = y;   
+}