![](/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:
- 2:0bd6711eae26
- Parent:
- 1:b9f3b7d869d8
- Child:
- 3:660de4311976
diff -r b9f3b7d869d8 -r 0bd6711eae26 Snake/Snake.h --- a/Snake/Snake.h Wed May 08 19:32:05 2019 +0000 +++ b/Snake/Snake.h Wed May 08 21:26:27 2019 +0000 @@ -16,6 +16,10 @@ void init(); void draw_head(N5110 &lcd); + void set_snake_posX(int snake_posX); // mutators + void set_snake_posY(int snake_posY); + int get_snake_posX(); //accessors + int get_snake_posY(); private: int _snake_posX;