Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10244 in orxonox.OLD for branches/ai/src/ai/ai_module.h


Ignore:
Timestamp:
Jan 17, 2007, 12:43:30 AM (17 years ago)
Author:
tfahrni
Message:

tired

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ai/src/ai/ai_module.h

    r10226 r10244  
    77class AIModule {
    88 public:
    9         AIModule(){}
     9        inline AIModule(){taskComplete=false;}
    1010   virtual ~AIModule(){}
    1111   virtual void process(float dt){}
     
    2525        inline float getMaxAcceleration(){return accelerationMax;}
    2626        inline float getMaxSpeed(){return speedMax;}
     27        inline float getNPCRadius(){return getRadius(npc);}
     28
     29        inline bool done(){return taskComplete;}
    2730
    2831        void getAttributesFrom(AIModule* oldModule);
     
    3538        Vector destinationView;
    3639
    37 
     40        bool taskComplete;
    3841        Vector movement;
    3942        Vector view;
Note: See TracChangeset for help on using the changeset viewer.