Modifier and type | Property and description |
---|---|
boolean | spawnEnable
Replies if the spawning of agents is enabled or disabled. |
Modifier and type | Action and description |
---|---|
abstract void | addDynamicSkillProvider(DynamicSkillProvider)
Add a dynamic skill provider that must be used for the agents that are spawned after the call to this function. |
abstract void | addKernelAgentLifecycleListener(KernelAgentLifecycleListener)
Add a listener on the changes related to the kernel agent. |
abstract void | addLifecycleServiceListener(LifecycleServiceListener)
Add a listener on the changes in the current state of an agent. |
abstract boolean | getSpawnEnable
Replies if the spawning of agents is enabled or disabled. |
abstract boolean | killAgent(Agent,boolean,Object)
Kill the given agent. |
abstract void | removeDynamicSkillProvider(DynamicSkillProvider)
Remove a dynamic skill provider that must be not be used any more for the agents that are spawned. |
abstract void | removeKernelAgentLifecycleListener(KernelAgentLifecycleListener)
Remove a listener on the changes related to the kernel agent. |
abstract void | removeLifecycleServiceListener(LifecycleServiceListener)
Remove a listener on the changes in the current state of an agent. |
abstract void | setSpawnEnable(boolean)
Enable or disable the spawning of agents. |
abstract void | spawnAgent(int,UUID,Context,UUID,Class<T>,Object)
Spawn agents of the given type, and pass the parameters to its initialization function. |
var spawnEnable : boolean
This property is an alias for the action: getSpawnEnable
def addDynamicSkillProvider(DynamicSkillProvider)
def addKernelAgentLifecycleListener(KernelAgentLifecycleListener)
def addLifecycleServiceListener(LifecycleServiceListener)
def getSpawnEnable : boolean
def killAgent(Agent,boolean,Object) : boolean
def removeDynamicSkillProvider(DynamicSkillProvider)
def removeKernelAgentLifecycleListener(KernelAgentLifecycleListener)
def removeLifecycleServiceListener(LifecycleServiceListener)
def setSpawnEnable(boolean)
def spawnAgent(int,UUID,Context,UUID,Class<T>,Object)