| Property | Defined by | ||
|---|---|---|---|
| isReady : Boolean [read-only]
| UseAction | ||
| paramsNumber : int [read-only]
The number of parameters used by the action.
| UseAction | ||
| Method | Defined by | ||
|---|---|---|---|
| UseAction | |||
|
AddParameter(pItem:IInteractable):void
| UseAction | ||
|
CanExecute(pIterator:IIterator):Boolean
| UseAction | ||
| UseAction | |||
![]() |
GetId():String
The action identificator.
| BaseAction | |
|
GetNoActionText():String
| UseAction | ||
![]() |
The first parameter of the action.
| BaseAction | |
|
The second parameter of the action.
| UseAction | ||
|
GetText():String
| UseAction | ||
|
TestParameter(pItem:IInteractable):Boolean
| UseAction | ||
| isReady | property |
isReady:Boolean [read-only]Implementation
public function get isReady():Boolean
| paramsNumber | property |
paramsNumber:int [read-only]The number of parameters used by the action. Usually 1 or 2.
Implementation public function get paramsNumber():int
| UseAction | () | constructor |
public function UseAction()
| AddParameter | () | method |
| CanExecute | () | method |
public override function CanExecute(pIterator:IIterator):BooleanParameters
pIterator:IIterator |
Boolean |
| Execute | () | method |
public override function Execute(pIterator:IIterator):BooleanParameters
pIterator:IIterator |
Boolean |
| GetNoActionText | () | method |
public override function GetNoActionText():String
Returns
String |
| GetParam2 | () | method |
public override function GetParam2():IInteractableThe second parameter of the action.
ReturnsIInteractable —
IInteractable parameter.
|
| GetText | () | method |
public override function GetText():String
Returns
String |
| TestParameter | () | method |
public override function TestParameter(pItem:IInteractable):BooleanParameters
pItem:IInteractable |
Boolean |