![](/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
Snake/Snake.h
- Committer:
- el16dlc
- Date:
- 2019-05-08
- Revision:
- 2:0bd6711eae26
- Parent:
- 1:b9f3b7d869d8
- Child:
- 3:660de4311976
File content as of revision 2:0bd6711eae26:
#ifndef SNAKE_H #define SNAKE_H #include "mbed.h" #include "N5110.h" #include "Gamepad.h" class Snake { public: // constructor Snake(); // destructor ~Snake(); 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; int _snake_posY; }; #endif