|
Oolite
|
#include <OOSparkEntity.h>
Private Attributes | |
| GLfloat | _baseRGBA [4] |
| GLfloat | _duration |
| GLfloat | _timeRemaining |
Definition at line 28 of file OOSparkEntity.h.
| - (id) initWithPosition: | (HPVector) | position | |
| velocity: | (Vector) | velocity | |
| duration: | (OOTimeDelta) | duration | |
| size: | (float) | size | |
| color: | (OOColor*) | color |
Definition at line 39 of file OOSparkEntity.m.
References _duration, _timeRemaining, OOColor::getRed:green:blue:alpha:, performUpdate:, Entity::setCollisionRadius:, Entity::setPosition:, and Entity::setVelocity:.
|
implementation |
Provided by category OOSparkEntity(Private).
Definition at line 64 of file OOSparkEntity.m.
References OOClamp_0_1_f().
Referenced by initWithPosition:velocity:duration:size:color:, and update:.
|
implementation |
Reimplemented from Entity.
Definition at line 58 of file OOSparkEntity.m.
References performUpdate:, and Entity::update:.
|
private |
Definition at line 30 of file OOSparkEntity.h.
|
private |
Definition at line 31 of file OOSparkEntity.h.
Referenced by initWithPosition:velocity:duration:size:color:.
|
private |
Definition at line 31 of file OOSparkEntity.h.
Referenced by initWithPosition:velocity:duration:size:color:.