Funcao addXY para ajudar em sprites
[Projeto-PCG.git] / controlewii.h
blobd02eb4648cdff845ec5586d8928bdfb2dbf8eab1
1 #ifndef CONTROLEWII_H
2 #define CONTROLEWII_H
4 #include "controle.h"
5 #include <cwiid.h>
7 class ControleWii: public Controle {
8 private:
9 cwiid_wiimote_t *wiimote; /* wiimote handle */
10 struct cwiid_state state; /* wiimote state */
11 bdaddr_t bdaddr; /* bluetooth device address */
12 unsigned char mesg;
13 unsigned char led_state;
14 unsigned char rpt_mode;
15 unsigned char rumble;
16 public:
17 ControleWii(Player &p);
18 bool initializeWiimote();
19 virtual void handleEvent(SDL_Event &e);
20 virtual void handleOther();
24 #endif