Action Class Reference

#import <Action.h>

Inherited by FiniteTimeAction, RepeatForever, and Speed.

List of all members.

Public Member Functions

(void) - start
 called before the action start
(BOOL) - isDone
 return YES if the action has finished
(void) - stop
 called after the action has finished
(void) - step:
 called every frame with it's delta time. DON'T override unless you know what you are doing.
(void) - update:

Properties

CocosNodetarget
int tag


Detailed Description

Base class for actions

Member Function Documentation

- (BOOL) isDone  

return YES if the action has finished

Implemented in IntervalAction.

- (void) start  

called before the action start

Implemented in IntervalAction.

- (void) step: (ccTime dt  

called every frame with it's delta time. DON'T override unless you know what you are doing.

- (void) stop  

called after the action has finished

- (void) update: (ccTime time  

called once per frame. time a value between 0 and 1 For example: 0 means that the action just started 0.5 means that the action is in the middle 1 means that the action is over


Property Documentation

- (int) tag [read, write, assign]

The action tag. An identifier of the action

- (CocosNode *) target [read, write, assign]

The "target". The action will modify the target properties


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

Generated on Tue Jun 9 10:39:28 2009 for cocos2d for iPhone 0.7.3 by  doxygen 1.5.8