ELEC2645 (2019/20)
/
ELEC2645_Project_el18vgt
Game designed for project
Diff: MyClasses/PaddleControl.h
- Revision:
- 3:5ede4ac61af1
- Parent:
- 2:e67ca889c81b
diff -r e67ca889c81b -r 5ede4ac61af1 MyClasses/PaddleControl.h --- a/MyClasses/PaddleControl.h Tue May 19 09:51:13 2020 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -#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