Nebula
Loading...
Searching...
No Matches
Navigation::AgentContext Class Reference

#include <navagentcontext.h>

Public Member Functions

 AgentContext ()
 constructor
 
virtual ~AgentContext ()
 destructor
 

Static Public Member Functions

static void Create ()
 create context
 
static void SetTarget (const Navigation::CrowdAgentId id, const Math::point &target)
 set the target for an agent
 
static Math::point GetTarget (const Navigation::CrowdAgentId id)
 set the transform for a model
 

Private Types

typedef Ids::IdAllocator< CrowdAgentId, int, NavMeshId, Math::pointAgentContextAllocator
 

Static Private Attributes

static AgentContextAllocator agentContextAllocator
 

Member Typedef Documentation

◆ AgentContextAllocator

Constructor & Destructor Documentation

◆ AgentContext()

Navigation::AgentContext::AgentContext ( )

constructor

◆ ~AgentContext()

virtual Navigation::AgentContext::~AgentContext ( )
virtual

destructor

Member Function Documentation

◆ Create()

static void Navigation::AgentContext::Create ( )
static

create context

◆ GetTarget()

static Math::point Navigation::AgentContext::GetTarget ( const Navigation::CrowdAgentId id)
static

set the transform for a model

◆ SetTarget()

static void Navigation::AgentContext::SetTarget ( const Navigation::CrowdAgentId id,
const Math::point & target )
static

set the target for an agent

Member Data Documentation

◆ agentContextAllocator

AgentContextAllocator Navigation::AgentContext::agentContextAllocator
staticprivate

The documentation for this class was generated from the following file: