Line | |
---|
1 | |
---|
2 | #ifndef _NPC22_H |
---|
3 | #define _NPC2_H |
---|
4 | |
---|
5 | #include "npc.h" |
---|
6 | #include "ai_module.h" |
---|
7 | |
---|
8 | class AI; |
---|
9 | class Shader; |
---|
10 | class AIModule; |
---|
11 | |
---|
12 | class NPC2 : public NPC { |
---|
13 | ObjectListDeclaration(NPC2); |
---|
14 | |
---|
15 | public: |
---|
16 | NPC2 (const TiXmlElement* root); |
---|
17 | virtual ~NPC2 (); |
---|
18 | virtual void loadParams(const TiXmlElement* root); |
---|
19 | virtual void tick(float dt); |
---|
20 | inline int getTeam(){return teamNumber;} |
---|
21 | |
---|
22 | |
---|
23 | private: |
---|
24 | inline void setTeamNumber(int number){teamNumber=number;} |
---|
25 | inline void setSwarmNumber(int number){swarmNumber=number;} |
---|
26 | |
---|
27 | int teamNumber; |
---|
28 | int swarmNumber; |
---|
29 | int difficulty; |
---|
30 | |
---|
31 | AIModule* aiModule; |
---|
32 | }; |
---|
33 | |
---|
34 | #endif /* _NPC2_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.