| Line |  | 
|---|
| 1 |  | 
|---|
| 2 | #ifndef _NPC22_H | 
|---|
| 3 | #define _NPC2_H | 
|---|
| 4 |  | 
|---|
| 5 | #include "npc.h" | 
|---|
| 6 |  | 
|---|
| 7 | class AI; | 
|---|
| 8 | class Shader; | 
|---|
| 9 |  | 
|---|
| 10 | class NPC2 : public NPC { | 
|---|
| 11 | ObjectListDeclaration(NPC2); | 
|---|
| 12 |  | 
|---|
| 13 | public: | 
|---|
| 14 | NPC2 (const TiXmlElement* root); | 
|---|
| 15 | virtual ~NPC2 (); | 
|---|
| 16 |  | 
|---|
| 17 | virtual void loadParams(const TiXmlElement* root); | 
|---|
| 18 |  | 
|---|
| 19 | void addAI(AI* ai); | 
|---|
| 20 |  | 
|---|
| 21 | virtual void destroy(WorldEntity* killer); | 
|---|
| 22 |  | 
|---|
| 23 | virtual void tick(float dt); | 
|---|
| 24 | virtual void draw() const; | 
|---|
| 25 |  | 
|---|
| 26 | private: | 
|---|
| 27 | Vector   randomRotAxis; | 
|---|
| 28 | Shader*  shader; | 
|---|
| 29 | }; | 
|---|
| 30 |  | 
|---|
| 31 | #endif /* _NPC2_H */ | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.