Line | |
---|
1 | /*! |
---|
2 | * @file ground_turret.h |
---|
3 | * @brief description |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef _GROUND_TURRET_H |
---|
7 | #define _GROUND_TURRET_H |
---|
8 | |
---|
9 | #include "npcs/npc.h" |
---|
10 | |
---|
11 | //! A Class to ... |
---|
12 | class GroundTurret : public NPC |
---|
13 | { |
---|
14 | |
---|
15 | public: |
---|
16 | GroundTurret(const TiXmlElement* root = NULL); |
---|
17 | virtual ~GroundTurret(); |
---|
18 | |
---|
19 | void loadParams(const TiXmlElement* root); |
---|
20 | void init(); |
---|
21 | |
---|
22 | virtual void postSpawn (); |
---|
23 | virtual void leftWorld (); |
---|
24 | |
---|
25 | |
---|
26 | virtual void draw() const; |
---|
27 | virtual void tick(float time); |
---|
28 | virtual void collidesWith (WorldEntity* entity, const Vector& location); |
---|
29 | |
---|
30 | private: |
---|
31 | |
---|
32 | }; |
---|
33 | |
---|
34 | #endif /* _GROUND_TURRET_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.