Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/ai/src/world_entities/npcs/npc_test.h @ 10262

Last change on this file since 10262 was 10138, checked in by tfahrni, 18 years ago

startet to implement swarming

File size: 605 bytes
Line 
1
2#ifndef _NPC22_H
3#define _NPC2_H
4
5#include "npc.h"
6#include "ai_module.h"
7
8class AI;
9class Shader;
10class AIModule;
11
12class 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.