12 class Shooter
: public Thing
{
14 Ponto
leftArm(bool w
);
15 Ponto
rightArm(bool w
);
19 Ponto
imaginaryRightfeet();
20 Ponto
imaginaryLeftfeet();
21 double imaginaryBodyAngle();
24 double tamanhoAntebraco();
25 double tamanhoBraco();
27 double tamanhoPerna();
29 Ponto
getJunta(Ponto superior
, Ponto inferior
,
30 double tamanhoSuperior
, double tamanhoInferior
);
32 unsigned int feetTime
;
33 unsigned int angleTime
;
34 void updateFeetTime();
35 void updateAngleTime();
46 Shooter(Game
* agame
, Ponto pos
, Ponto speed
);
48 void setAim(double x
, double y
);
49 void equip(Weapon
* aweapon
);
53 virtual Linha
getBaseLine();
54 virtual Polygon
getCollision();
55 virtual void drawEquipment() = 0;