Dependencies: mbed
Diff: SnakeEngine/SnakeEngine.h
- Revision:
- 14:c3a435597196
- Parent:
- 13:72bc2579e85e
- Child:
- 16:85ca9feccf3f
--- a/SnakeEngine/SnakeEngine.h Wed Apr 11 11:42:16 2018 +0000 +++ b/SnakeEngine/SnakeEngine.h Thu Apr 12 11:20:27 2018 +0000 @@ -25,7 +25,7 @@ SnakeEngine(); // constructor ~SnakeEngine(); // destructor - void init(Direction snake_current_direction, int snake_position_x, int snake_postion_y); // initiallises the position of the food, and snake + void init(int snake_position_x, int snake_postion_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