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
Merge branch 'weaponitem'
[Projeto-PCG.git]
/
weaponitem.h
blob
b3a447c796dfcb31d8d8d12ada01302dbf5cba99
1
#ifndef WEAPONITEM_H
2
#define WEAPONITEM_H
3
4
#include
"weapon.h"
5
#include
"thing.h"
6
#include
"geometry.h"
7
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
};
20
21
#endif