Arma na mao do player, com cotovelo!!! :D
[Projeto-PCG.git] / player.h
blobfb2ff9972016e48a10477f4812bd1c9026d936c8
1 #ifndef PLAYER_H
2 #define PLAYER_H
4 #include "game.h"
5 #include "geometry.h"
6 #include "thing.h"
7 #include "weapon.h"
9 class Game;
11 class Player: public Thing {
12 private:
13 Game* game;
14 Ponto leftFeet();
15 Ponto rightFeet();
16 Ponto cintura();
17 Ponto leftArm();
18 Ponto rightArm();
19 Ponto pescoco();
20 Ponto aim;
21 Weapon* weapon;
22 double tamanhoAntebraco();
23 double tamanhoBraco();
24 double getAngle();
25 Ponto getCotovelo(Ponto ombro, Ponto hand);
26 public:
27 Player(Game* agame);
28 void desenha();
29 void setAim(double x, double y);
30 void equip(Weapon* aweapon);
31 virtual Linha getBaseLine();
34 #endif