CocosSharp.CCAnimation Class
A Animation object is used to perform animations on the Sprite objects.

See Also: CCAnimation Members

Syntax

public class CCAnimation

Remarks

A Animation object is used to perform animations on the Sprite objects.

A Animation object is used to perform animations on the Sprite objects.

The CocosSharp.CCAnimation object contains CocosSharp.CCAnimationFrame objects, and a possible delay between the frames. You can animate a CocosSharp.CCAnimation object by using the CocosSharp.CCAnimate action. Example:

CocosSharp.CCAnimation CocosSharp.CCAnimationFrame CocosSharp.CCAnimation CocosSharp.CCAnimate

[sprite runAction:[CocosSharp.CCAnimate actionWithAnimation:animation]];

CocosSharp.CCAnimate

Requirements

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