Skip to main content
Version: Next

Agent Service

Description

This is the core of what an agent is and should be used for all interactions of a specific agent. It provides access to a specific agent set of services meaning anything it has will only effect a single agent within the scene.

Interface

Type
IAgentService
IMonoBehaviour

Inherits

Type
N/A

Properties

NameType
stateIAgentState
actionProcessorIAgentActionProcessor
pauseServiceIPauseService
applicatorServiceIAgentActionProcessor
controllerServiceIBehaviourService
rendererControllerRendererController
ownershipServiceOwnershipService

Public Methods

NameParametersReturn TypeDescription
SetupIBehaviourApplicator[], IActionService, ILookingServicebooleanCalled to start initialisation of an agent.
UpdateProcessITimeServicebooleanUsed by the agent OrchestratorService to update agents.
ResetN/AbooleanUsed to reset the state and actionProcessor.
GetIDN/AstringA method for getting the agents unique id.
GetControllerServiceN/AIBehaviourServiceProvides the IBehaviourService for the agent.
GetActionProcessorN/AIAgentActionProcessorProvides the IAgentActionProcessor for the agent.
GetAgentStateN/AIAgentStateProvides the IAgentState for the agent.
GetOwnershipServiceN/AOwnershipServiceProvides the OwnershipService for the agent.
GetApplicatorServiceN/AIApplicatorServiceProvides the IApplicatorService for the agent.
GetPauseServiceN/AIPauseServiceProvides the IPauseService for the agent.