Final Submission. I have read and agreed with Statement of Academic Integrity.
Dependencies: mbed Gamepad N5110 Joystick
Diff: Snake/Snake.h
- Revision:
- 1:b9f3b7d869d8
- Child:
- 2:0bd6711eae26
diff -r 1217c9dd0290 -r b9f3b7d869d8 Snake/Snake.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Snake/Snake.h Wed May 08 19:32:05 2019 +0000 @@ -0,0 +1,25 @@ +#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); + +private: + int _snake_posX; + int _snake_posY; +}; +#endif +