cocos2d-iphone  2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Defines
CCWaves Class Reference

#import <CCActionGrid3D.h>

+ Inheritance diagram for CCWaves:
+ Collaboration diagram for CCWaves:

List of all members.

Public Member Functions

(id) - initWithDuration:size:waves:amplitude:horizontal:vertical:
(id) - initWithWaves:amplitude:horizontal:vertical:grid:duration:

Static Public Member Functions

(id) + actionWithDuration:size:waves:amplitude:horizontal:vertical:
(id) + actionWithWaves:amplitude:horizontal:vertical:grid:duration:

Protected Attributes

NSUInteger _waves
float _amplitude
float _amplitudeRate
BOOL _vertical
BOOL _horizontal

Properties

float amplitude
float amplitudeRate

Detailed Description

CCWaves action


Member Function Documentation

+ (id) actionWithDuration: (ccTime duration
size: (CGSize)  gridSize
waves: (NSUInteger)  wav
amplitude: (float)  amp
horizontal: (BOOL)  h
vertical: (BOOL)  v 

initializes the action with amplitude, horizontal sin, vertical sin, a grid and duration

- (id) initWithDuration: (ccTime duration
size: (CGSize)  gridSize
waves: (NSUInteger)  wav
amplitude: (float)  amp
horizontal: (BOOL)  h
vertical: (BOOL)  v 

creates the action with amplitude, horizontal sin, vertical sin, a grid and duration


Property Documentation

- (float) amplitude [read, write, assign]

amplitude

- (float) amplitudeRate [read, write, assign]

amplitude rate


The documentation for this class was generated from the following file: