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
Player atingido por lanca chamas nao fica mais girando feito doido
[Projeto-PCG.git]
/
shot.h
blob
9347dd54cafb1201ce08c134971f0783f08ccbd5
1
#ifndef SHOT_H
2
#define SHOT_H
3
4
#include
"thing.h"
5
6
class
Weapon
;
7
class
Game
;
8
class
Shooter
;
9
10
class
Shot
:
public
Thing
{
11
private
:
12
Game
*
game
;
13
public
:
14
Shooter
*
firedBy
;
15
Polygon sprite
;
16
Shot
(
double
x
,
double
y
,
double
angle
,
double
speed
,
double
gravityRate
,
Weapon
*
w
);
17
~
Shot
();
18
void
desenha
();
19
virtual
Polygon
getCollision
();
20
virtual
void
collide
(
Thing
*
b
);
21
};
22
23
#endif