Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jan 24, 2007, 6:55:21 PM (17 years ago)
Author:
tfahrni
Message:
 
File:
1 edited

Legend:

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

    r10244 r10349  
    1616        inline void setTarget(WorldEntity* target){this->target=target;}
    1717        inline void setNPC(WorldEntity* npc){this->npc=npc;}
     18        inline void setMaxSpeed(float maxSpeed){this->maxSpeed=maxSpeed;}
     19        inline void setAttackDistance(float attackDistance){this->attackDistance=attackDistance;}
    1820
    1921        inline Vector getPosition(){return npc->getAbsCoor();}
     
    2426        inline float getWeight(){return weight;}
    2527        inline float getMaxAcceleration(){return accelerationMax;}
    26         inline float getMaxSpeed(){return speedMax;}
     28        inline float getMaxSpeed(){return maxSpeed;}
     29        inline float getAttackDistance(){return attackDistance;}
    2730        inline float getNPCRadius(){return getRadius(npc);}
    2831
     
    4649
    4750        float weight;
    48         float speedMax;
     51        float maxSpeed;
     52        float attackDistance;
    4953        float accelerationMax;
    5054};
Note: See TracChangeset for help on using the changeset viewer.