Havia esquecido de passar a tecla para baixo para controleteclado
[Projeto-PCG.git] / weapon.h
blob8e4fb6f59e35a950a1e1f7f320ecd0c0c4eb857c
1 #ifndef WEAPON_H
2 #define WEAPON_H
4 #include <string>
5 #include "geometry.h"
6 #include "thing.h"
7 #include "luaenv.h"
9 class Weapon: public Thing {
10 private:
11 Ponto leftHand;
12 Ponto rightHand;
13 public:
14 Polygon sprite;
15 std::string name;
16 void setSprite(Polygon asprite) { sprite = asprite;}
17 void setLeftHand(Ponto hand) {leftHand = hand;}
18 void setRightHand(Ponto hand) {rightHand = hand;}
19 Ponto getLeftHand() {return leftHand;}
20 Ponto getRightHand(){return rightHand;}
21 void desenha();
25 #endif