Tarik Demirović / Mbed 2 deprecated PAI_Grupa1_Projekat_Pong

Dependencies:   N5110 mbed

Reket.h

Committer:
Vato
Date:
2014-06-05
Revision:
0:a5f6ba8c378e

File content as of revision 0:a5f6ba8c378e:

#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