ELEC2645 (2017/18) / Mbed 2 deprecated ll13jrm

Dependencies:   mbed

Revision:
7:c38800a428a6
Parent:
6:f3f508cea1c4
Child:
10:62d8cb7742c3
--- a/SnakeEngine/SnakeEngine.h	Fri Mar 16 13:02:55 2018 +0000
+++ b/SnakeEngine/SnakeEngine.h	Wed Mar 21 13:09:20 2018 +0000
@@ -21,7 +21,7 @@
     SnakeEngine(); // constructor
     ~SnakeEngine(); // destructor
     
-    void init(Vector2D food_position); // initiallises the position of the food, and snake 
+    void init(int food_pos_x, int food_pos_y); // initiallises the position of the food, and snake 
     void draw(N5110 &lcd); // draws snake/food to the lcd
     void update(Gamepad &pad); // updates depending on gamepad input
     void get_input(Gamepad &pad); // gets the input from the gamepad