| 12345678910111213141516171819202122232425262728293031 |
- $#include "Navigation/DetourCrowdManager.h"
- enum NavigationQuality
- {
- NAVIGATIONQUALITY_LOW = 0,
- NAVIGATIONQUALITY_MEDIUM = 1,
- NAVIGATIONQUALITY_HIGH = 2
- };
- enum NavigationPushiness
- {
- PUSHINESS_LOW,
- PUSHINESS_MEDIUM,
- PUSHINESS_HIGH
- };
- class DetourCrowdManager : public Component
- {
- bool CreateCrowd();
- void SetNavigationMesh(NavigationMesh *navMesh);
- void SetMaxAgents(unsigned agentCt);
- void SetAreaCost(unsigned filterID, unsigned areaID, float cost);
-
- NavigationMesh* GetNavigationMesh();
- unsigned GetMaxAgents() const;
- float GetAreaCost(unsigned filterID, unsigned areaID) const;
- unsigned GetAgentCount() const;
-
- tolua_property__get_set NavigationMesh* navigationMesh;
- tolua_property__get_set int maxAgents;
- };
|