Game designed for project

Dependencies:   mbed Gamepad2

Revision:
3:5ede4ac61af1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MyClasses/PaddleControl/PaddleControl.h	Sun May 24 09:15:25 2020 +0000
@@ -0,0 +1,28 @@
+#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 set_size(int length, int height);
+        void set_speed(int speed);
+        void update_direction(char direction);
+        Vector2D get_position();
+         
+    private:
+        
+        int _height;
+        int _length;
+        int _x;
+        int _y;
+        int _speed;
+};
+#endif
\ No newline at end of file