Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 330 vs 331 for /trunk/Source Code/AI/PathFinding/Headers/DivideCrowd.h

Diff revisions: vs.
  @@ -90,11 +90,11 @@
90 90 **/
91 91 DivideDtCrowd(NavigationMesh *navMesh);
92 92 ~DivideDtCrowd();
93 - /// Add an agent to the crowd: Returns ID of created agent (-1 if maximum agents is already created)
93 + /// Add an agent to the crowd: Returns ID of created agent
94 + /// (-1 if maximum agents is already created)
94 95 I32 addAgent(const vec3<F32>& position, F32 maxSpeed, F32 acceleration);
95 96 /// Retrieve agent with specified ID from the crowd.
96 97 inline const dtCrowdAgent* getAgent(I32 id) const { return _crowd->getAgent(id); }
97 -
98 98 /// Remove agent with specified ID from the crowd.
99 99 void removeAgent(const I32 idx);
100 100 /**
  @@ -169,7 +169,8 @@
169 169 vectorImpl<dtCrowdAgent* > getActiveAgents(void);
170 170 /// Get the IDs of all (active) agents in this crowd.
171 171 vectorImpl<I32 > getActiveAgentIds(void);
172 - /// The last set destination for the crowd. This is the destination that will be assigned to newly added agents.
172 + /// The last set destination for the crowd.
173 + /// This is the destination that will be assigned to newly added agents.
173 174 inline vec3<F32> DivideDtCrowd::getLastDestination() const { return vec3<F32>(_targetPos); }
174 175 /// Reference to the DetourCrowd object that is wrapped.
175 176 dtCrowd* _crowd;