Arma na mao do player, com cotovelo!!! :D
[Projeto-PCG.git] / weapon.h
blob9873e9a0cbb8026d77dd9aad5f6f7b40ac677039
1 #ifndef WEAPON_H
2 #define WEAPON_H
4 #include "geometry.h"
5 #include "thing.h"
7 class Weapon: public Thing {
8 private:
9 Polygon sprite;
10 Ponto leftHand;
11 Ponto rightHand;
12 public:
13 void setSprite(Polygon asprite) { sprite = asprite;}
14 void setLeftHand(Ponto hand) {leftHand = hand;}
15 void setRightHand(Ponto hand) {rightHand = hand;}
16 Ponto getLeftHand() {return leftHand;}
17 Ponto getRightHand(){return rightHand;}
18 void desenha();
22 #endif