Merge branch 'master' of git@github.com:andreferreira/Projeto-PCG
[Projeto-PCG.git] / weaponitem.h
blobf2499f059bb1c2cc760475f053e923d017ac48ca
1 #ifndef WEAPONITEM_H
2 #define WEAPONITEM_H
4 #include "weapon.h"
5 #include "thing.h"
6 #include "geometry.h"
8 // gerar superclasse Item no futuro?
9 class WeaponItem: public Thing {
10 private:
11 Weapon *arma;
12 Polygon collision;
13 public:
14 WeaponItem(Weapon *a, Polygon c);
15 virtual Linha getBaseLine();
16 virtual Polygon getCollision();
17 virtual void collide(Thing* b);
18 void desenha();
19 Weapon* getWeapon() {return arma;}
22 #endif