CCActionFlipY Class Reference

Inherits from CCActionInstant : CCActionFiniteTime : CCAction : NSObject
Declared in CCActionInstant.h

Overview

This action will lips the target in y direction.

Note: Target must be a CCSprite node or inherit from CCSprite.

Creating a Flip Action

+ actionWithFlipY:

Creates a flip action with y direction flipped or non flipped.

+ (id)actionWithFlipY:(BOOL)y

Parameters

y

Defines if target is flipped.

Return Value

The flip action object.

Declared In

CCActionInstant.h

– initWithFlipY:

Initializes a flip action with y direction flipped or non flipped

- (id)initWithFlipY:(BOOL)y

Parameters

y

Defines if target is flipped

Return Value

The initialized flip action object.

Declared In

CCActionInstant.h