Changeset 10376 in orxonox.OLD for trunk/src/world_entities/npcs/npc_test.h
- Timestamp:
- Jan 26, 2007, 12:17:26 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/npcs/npc_test.h
r10147 r10376 5 5 #include "npc.h" 6 6 7 8 7 9 class AI; 8 10 class Shader; 11 class AIModule; 9 12 10 class NPC2 : public NPC { 13 class NPC2 : public NPC 14 { 11 15 ObjectListDeclaration(NPC2); 12 16 13 17 public: 14 18 NPC2 (const TiXmlElement* root); 15 19 virtual ~NPC2 (); 20 virtual void loadParams(const TiXmlElement* root); 21 virtual void tick(float dt); 16 22 17 virtual void loadParams(const TiXmlElement* root);18 23 19 void addAI(AI* ai);20 24 21 virtual void destroy(WorldEntity* killer);22 25 23 virtual void tick(float dt); 24 // virtual void draw() const; 26 private: 25 27 26 private:27 Vector randomRotAxis;28 Shader* shader;29 28 }; 30 29
Note: See TracChangeset
for help on using the changeset viewer.