Final Commit

Dependencies:   mbed

Revision:
7:c38800a428a6
Parent:
2:ea90cec2489a
Child:
8:a2b431b9b3f7
--- a/SnakeEngine/SnakeEngine.cpp	Fri Mar 16 13:02:55 2018 +0000
+++ b/SnakeEngine/SnakeEngine.cpp	Wed Mar 21 13:09:20 2018 +0000
@@ -9,4 +9,12 @@
 SnakeEngine::~SnakeEngine()
 {
 
+}
+
+void SnakeEngine::init(int food_pos_x, int food_pos_y)
+{
+    _fx = food_pos_x;
+    _fy = food_pos_y;
+    
+    _food.init(_fx,_fy);
 }
\ No newline at end of file