![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Final Submission. I have read and agreed with Statement of Academic Integrity.
Dependencies: mbed Gamepad N5110 Joystick
Diff: Snake/Snake.h
- Revision:
- 3:660de4311976
- Parent:
- 2:0bd6711eae26
- Child:
- 4:0fc3441556e1
--- a/Snake/Snake.h Wed May 08 21:26:27 2019 +0000 +++ b/Snake/Snake.h Thu May 09 00:19:35 2019 +0000 @@ -20,10 +20,18 @@ void set_snake_posY(int snake_posY); int get_snake_posX(); //accessors int get_snake_posY(); + //void snake_move(); + void draw_food(N5110 &lcd); + void set_food_posX(int food_posX); // mutators + void set_food_posY(int food_posY); + int get_food_posX(); //accessors + int get_food_posY(); private: int _snake_posX; int _snake_posY; + int _food_posX; + int _food_posY; }; #endif