CocosSharp.CCActionState Class
Encapsulates the state of an action that is currently executing.

See Also: CCActionState Members

Syntax

public abstract class CCActionState

Remarks

The CocosSharp.CCAction objects are immutable in CocosSharp. When the method CCAction.StartAction is invoked, a new state object is created to keep track of the state of the object over time.

The CCActionState is initialized with both the immutable action (which provides the parameters for what the state should do) as well as the target node on which the state will operate.

If you are creating your own CCAction, you should also implement your own CCActionState and override at the CCActionState.Update method. Additionally, you can override also the CCActionState.Stop, CCActionState.Step methods and the CCActionState.IsDone property.

Requirements

Namespace: CocosSharp
Assembly: CocosSharp (in CocosSharp.dll)