Tarik Demirović / Mbed 2 deprecated PAI_Grupa1_Projekat_Pong

Dependencies:   N5110 mbed

Revision:
0:a5f6ba8c378e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Reket.h	Thu Jun 05 17:37:09 2014 +0000
@@ -0,0 +1,22 @@
+#ifndef REKET_H
+#define REKET_H
+
+#include "mbed.h"
+#include "N5110.h"
+
+class Reket {  
+    int x1, x2, y1, y2;
+public:
+    Reket(int x_1, int x_2, int y_1, int y_2) : x1(x_1), x2(x_2), y1(y_1), y2(y_2) {}
+    
+    int dajX1();
+    int dajX2();
+    int dajY1();
+    int dajY2();
+     
+    void crtajReket(N5110 &display);
+    void brisiReket(N5110 &display);
+    void osvjeziPoziciju(AnalogIn &p1);
+};
+
+#endif
\ No newline at end of file