cocos2d for iPhone  2.1.0
2D game engine for iOS and OS X
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Instance Methods | Class Methods | Properties | List of all members
CCRipple3D Class Reference

#import <CCActionGrid3D.h>

Inheritance diagram for CCRipple3D:
Inheritance graph
[legend]
Collaboration diagram for CCRipple3D:
Collaboration graph
[legend]

Instance Methods

(id) - initWithDuration:size:position:radius:waves:amplitude:
 
- Instance Methods inherited from CCGrid3DAction
(ccVertex3F- vertex:
 
(ccVertex3F- originalVertex:
 
(void) - setVertex:vertex:
 
- Instance Methods inherited from CCGridAction
(id) - initWithDuration:size:
 
(CCGridBase *) - grid
 
- Instance Methods inherited from CCActionInterval
(id) - initWithDuration:
 
(BOOL) - isDone
 
(CCActionInterval *) - reverse
 

Class Methods

(id) + actionWithDuration:size:position:radius:waves:amplitude:
 

Properties

CGPoint position
 
float amplitude
 
float amplitudeRate
 

Additional Inherited Members

- Protected Attributes inherited from CCFiniteTimeAction
ccTime _duration
 duration in seconds
 

Detailed Description

CCRipple3D action

Definition at line 99 of file CCActionGrid3D.h.

Method Documentation

+ (id) actionWithDuration: (ccTime d
size: (CGSize)  gridSize
position: (CGPoint)  pos
radius: (float)  r
waves: (NSInteger)  wav
amplitude: (float)  amp 

creates the action with a position in points, radius, number of waves, amplitude, a grid size and duration

- (id) initWithDuration: (ccTime d
size: (CGSize)  gridSize
position: (CGPoint)  pos
radius: (float)  r
waves: (NSInteger)  wav
amplitude: (float)  amp 

initializes the action with a position in points, radius, number of waves, amplitude, a grid size and duration

Property Documentation

- (float) amplitude
readwritenonatomicassign

amplitude

Definition at line 111 of file CCActionGrid3D.h.

- (float) amplitudeRate
readwritenonatomicassign

amplitude rate

Definition at line 113 of file CCActionGrid3D.h.

- (CGPoint) position
readwritenonatomicassign

center position in Points

Definition at line 109 of file CCActionGrid3D.h.


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