C# Class UnityAI.Core.Planning.Action

Exibir arquivo Open project: unityai/unityai-core

Protected Properties

Property Type Description
moActionIdentity Predicate
moEffectList EffectList
moPreconditionList PreconditionList

Public Methods

Method Description
Action ( Predicate actionIdentity ) : System

Create an Action

AddEffect ( Predicate predicate ) : void

Add an Effect to the Effects

AddPrecondition ( Predicate predicate ) : void

Add a Precondition

CreateFinish ( ) : Action

Create the finish symbol

CreateStart ( ) : Action

The Start Symbol has only Effects

ToString ( ) : string

String Representation of the Action

Method Details

Action() public method

Create an Action
public Action ( Predicate actionIdentity ) : System
actionIdentity Predicate
return System

AddEffect() public method

Add an Effect to the Effects
public AddEffect ( Predicate predicate ) : void
predicate Predicate A Predicate to Add
return void

AddPrecondition() public method

Add a Precondition
public AddPrecondition ( Predicate predicate ) : void
predicate Predicate A Predicate to Add
return void

CreateFinish() public static method

Create the finish symbol
public static CreateFinish ( ) : Action
return Action

CreateStart() public static method

The Start Symbol has only Effects
public static CreateStart ( ) : Action
return Action

ToString() public method

String Representation of the Action
public ToString ( ) : string
return string

Property Details

moActionIdentity protected_oe property

protected Predicate,UnityAI.Core.Planning moActionIdentity
return Predicate

moEffectList protected_oe property

protected EffectList moEffectList
return EffectList

moPreconditionList protected_oe property

protected PreconditionList moPreconditionList
return PreconditionList