repo.or.cz
/
Projeto-PCG.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Arma na mao do player, com cotovelo!!! :D
[Projeto-PCG.git]
/
player.h
blob
fb2ff9972016e48a10477f4812bd1c9026d936c8
1
#ifndef PLAYER_H
2
#define PLAYER_H
3
4
#include
"game.h"
5
#include
"geometry.h"
6
#include
"thing.h"
7
#include
"weapon.h"
8
9
class
Game
;
10
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
();
32
};
33
34
#endif