Player atingido por lanca chamas nao fica mais girando feito doido
[Projeto-PCG.git] / shot.h
blob9347dd54cafb1201ce08c134971f0783f08ccbd5
1 #ifndef SHOT_H
2 #define SHOT_H
4 #include "thing.h"
6 class Weapon;
7 class Game;
8 class Shooter;
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);
23 #endif