Property | Defined By | ||
---|---|---|---|
className : Object [read-only]
Returns the class name of the state. | State | ||
_disabled : Boolean
Returns if the state is disabled. | State | ||
NextState : Class
Returns the next state that will be set after this one ends. | State |
Method | Defined By | ||
---|---|---|---|
State()
Creates a state and stores its class. | State | ||
Construct():void
Called when the state is first created. | State | ||
DeInit():void
Called when the state is deinitialized, but not removed. | State | ||
Destruct():void
Called when the state is removed. | State | ||
Init():void
Called when the state is first initialized. | State | ||
ShouldEnd():Boolean
Return true to end the state. | State | ||
ToString():String
Returns the string name of the state. | State | ||
Update():void
Called each game tick. | State | ||
UpdateInput():void
Called each game tick, if verInput is valid. | State |
_disabled | property |
_disabled:Boolean
Returns if the state is disabled.
public function get _disabled():Boolean
public function set _disabled(value:Boolean):void
className | property |
className:Object
[read-only] Returns the class name of the state.
public function get className():Object
NextState | property |
NextState:Class
Returns the next state that will be set after this one ends.
public function get NextState():Class
public function set NextState(value:Class):void
State | () | Constructor |
public function State()
Creates a state and stores its class.
Construct | () | method |
public function Construct():void
Called when the state is first created. (override) Used to create constants/setup the state. DO NOT CALL MANUALLY - THIS IS HANDLED BY verStates!
DeInit | () | method |
public function DeInit():void
Called when the state is deinitialized, but not removed. (override) Used to delete dynamics. DO NOT CALL MANUALLY - THIS IS HANDLED BY verStates!
Destruct | () | method |
public function Destruct():void
Called when the state is removed. (override) Used to delete constants. DO NOT CALL MANUALLY - THIS IS HANDLED BY verStates!
Init | () | method |
public function Init():void
Called when the state is first initialized. (override) Used to create dynamics. DO NOT CALL MANUALLY - THIS IS HANDLED BY verStates!
ShouldEnd | () | method |
public function ShouldEnd():Boolean
Return true to end the state. (override) DO NOT CALL MANUALLY - THIS IS HANDLED BY verStates!
ReturnsBoolean —
|
ToString | () | method |
public function ToString():String
Returns the string name of the state.
ReturnsString —
|
Update | () | method |
public function Update():void
Called each game tick. (override) DO NOT CALL MANUALLY - THIS IS HANDLED BY verStates
UpdateInput | () | method |
public function UpdateInput():void
Called each game tick, if verInput is valid. (override) DO NOT CALL MANUALLY - THIS IS HANDLED BY verStates