Changeset 10349 in orxonox.OLD for branches/ai/src/ai/ai_module.h
- Timestamp:
- Jan 24, 2007, 6:55:21 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ai/src/ai/ai_module.h
r10244 r10349 16 16 inline void setTarget(WorldEntity* target){this->target=target;} 17 17 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;} 18 20 19 21 inline Vector getPosition(){return npc->getAbsCoor();} … … 24 26 inline float getWeight(){return weight;} 25 27 inline float getMaxAcceleration(){return accelerationMax;} 26 inline float getMaxSpeed(){return speedMax;} 28 inline float getMaxSpeed(){return maxSpeed;} 29 inline float getAttackDistance(){return attackDistance;} 27 30 inline float getNPCRadius(){return getRadius(npc);} 28 31 … … 46 49 47 50 float weight; 48 float speedMax; 51 float maxSpeed; 52 float attackDistance; 49 53 float accelerationMax; 50 54 };
Note: See TracChangeset
for help on using the changeset viewer.