Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.AI.Sensors.Zone Class Reference

Detailed Description

Returns Success in case bonded sensor has detected objects.

Inheritance diagram for Doloro.AI.Sensors.Zone:
Collaboration diagram for Doloro.AI.Sensors.Zone:

Public Member Functions

override void Init (Brain ai)
 Checks existence of the AISensorsManager at the AI game object. More...
 
sealed override Result Pass (Brain ai)
 Performs base logic of sensor action. More...
 
virtual void End (Brain ai)
 Occurs when action execution is ended. Calls each time the node got an explicit result as a Result.Success or Result.Fail More...
 

Public Attributes

bool invertedResult = false
 Return inverted targetBuffer. Fail to Success, Success to Fail.
 
int sensorID = 0
 Target Sensor ID at the AISensorsManager.
 

Protected Member Functions

override Result InvertibleInternalPassLogic (Brain ai)
 Return Success if found objects in zone. More...
 
sealed override Result InternalPassLogic (Brain ai)
 Callback that calling by the pass More...
 

Protected Attributes

AISensorsManager manager
 Reference to the manager.
 

Properties

Sensor sensor [get, set]
 Manager that collect the sensor data.
 
PipelineItem self [get, set]
 Reference to node that contains this action.
 
virtual DataManagement.DynamicResources.Version version [get]
 Source version. More...
 
virtual string author [get]
 Source author.
 

Member Function Documentation

◆ End()

virtual void Doloro.AI.Action.End ( Brain  ai)
virtualinherited

Occurs when action execution is ended. Calls each time the node got an explicit result as a Result.Success or Result.Fail

Parameters
aiSource AI entity.

Reimplemented in Doloro.AI.Parallel, and Doloro.AI.LogicCoresRoot.

◆ Init()

override void Doloro.AI.Sensors.ASensorAction.Init ( Brain  ai)
virtualinherited

Checks existence of the AISensorsManager at the AI game object.

Parameters
ai

Reimplemented from Doloro.AI.Action.

Reimplemented in Doloro.AI.Sensors.Filters.ASensorFilterAction< T >, and Doloro.AI.Sensors.Visual.

◆ InternalPassLogic()

sealed override Result Doloro.AI.Sensors.AInvertibleSensorAction.InternalPassLogic ( Brain  ai)
protectedvirtualinherited

Callback that calling by the pass

Parameters
ai
Returns
Sensor reaction result.

Implements Doloro.AI.Sensors.ASensorAction.

◆ InvertibleInternalPassLogic()

override Result Doloro.AI.Sensors.Zone.InvertibleInternalPassLogic ( Brain  ai)
protectedvirtual

Return Success if found objects in zone.

Implements Doloro.AI.Sensors.AInvertibleSensorAction.

◆ Pass()

sealed override Result Doloro.AI.Sensors.ASensorAction.Pass ( Brain  ai)
virtualinherited

Performs base logic of sensor action.

Parameters
ai
Returns

Implements Doloro.AI.Action.

Property Documentation

◆ version

virtual DataManagement.DynamicResources.Version Doloro.AI.Action.version
getinherited
Initial value:
=
DataManagement.DynamicResources.Version._100

Source version.

Should be a constant value that defines what a version of relevant source is. Could be use for patching of the data according with version changes.


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