Urho.Actions.ActionState Class

Encapsulates the states of a running action.

See Also: ActionState

Syntax

public abstract class ActionState

Remarks

ActionStates encapsulate the running state of an Action when the Action.StartAction method is invoked to trigger the execution fo the action.

Requirements

Namespace: Urho.Actions
Assembly: Urho (in Urho.dll)
Assembly Versions: 1.0.0.0

The members of Urho.Actions.ActionState are listed below.

See Also: Object

Protected Constructors

Creates a new action state

Public Properties

ActionBaseAction. Links to the action for which this action state was created.
[read-only]
IsDoneBoolean. Gets a value indicating whether this instance is done.
OriginalTargetNode. The node that this action will be operating on.
TargetNode. Gets or sets the target. Will be set with the 'StartAction' method of the corresponding Action. When the 'Stop' method is called, Target will be set to null.

Public Methods

Update(Single)
Called once per frame.

Protected Methods

Step(Single)
Called every frame with it's delta time. DON'T override unless you know what you are doing.
Stop()
Called after the action has finished. It will set the 'Target' to null.