ELEC2645 (2019/20)
/
ELEC2645_Project_el18vgt
Game designed for project
Diff: MyClasses/PaddleControl.h
- Revision:
- 2:e67ca889c81b
diff -r d1f0f22ecfc4 -r e67ca889c81b MyClasses/PaddleControl.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MyClasses/PaddleControl.h Tue May 19 09:51:13 2020 +0000 @@ -0,0 +1,26 @@ +#ifndef PADDLECONTROL_H +#define PADDLECONTROL_H + +#include "mbed.h" +#include "N5110.h" +#include "Gamepad.h" + + +class PaddleControl +{ + public: + + void init(int y,int length,int height); + void print_lcd(N5110 &lcd); + void setsize(int length. int height); + void setspeed(); + void update(char direction); + Vector 2D position(); + + + private: + + + +}; +#endif \ No newline at end of file