Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 17, 2007, 4:27:43 PM (19 years ago)
Author:
patrick
Message:

ai is now handeled in npc, weapon manager added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ai/src/world_entities/npcs/npc_test.h

    r10138 r10263  
    44
    55#include "npc.h"
    6 #include "ai_module.h"
     6
     7
    78
    89class AI;
     
    1011class AIModule;
    1112
    12 class NPC2 : public NPC {
    13         ObjectListDeclaration(NPC2);
     13class NPC2 : public NPC
     14{
     15  ObjectListDeclaration(NPC2);
    1416
    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;}
     17public:
     18  NPC2 (const TiXmlElement* root);
     19  virtual ~NPC2 ();
     20  virtual void loadParams(const TiXmlElement* root);
     21  virtual void tick(float dt);
    2122
    2223
    23         private:
    24                 inline void setTeamNumber(int number){teamNumber=number;}
    25                 inline void setSwarmNumber(int number){swarmNumber=number;}
    2624
    27                 int teamNumber;
    28                 int swarmNumber;
    29                 int difficulty;
    3025
    31                 AIModule* aiModule;
     26private:
     27
    3228};
    3329
Note: See TracChangeset for help on using the changeset viewer.