Definition at line 44 of file OOFlashEffectEntity.m.
◆ initWithPosition:size:color:duration:
| - (id) initWithPosition: |
|
(HPVector) |
pos |
| size: |
|
(float) |
size |
| color: |
|
(OOColor *) |
color |
| duration: |
|
(float) |
duration |
|
|
| |
Extends class OOFlashEffectEntity.
Definition at line 41 of file OOFlashEffectEntity.m.
93 :(HPVector)pos
size:(float)
size color:(
OOColor *)color duration:(float)duration
94{
95 if ((
self = [super initWithDiameter:
size]))
96 {
97 [self setPosition:pos];
98 _duration = duration;
100 [self setColor:color alpha:1.0f];
101 assert([self collisionRadius] == 0 && [self energy] == 0 && magnitude([self velocity]) == 0);
102 }
103 return self;
104}
#define kGrowthRateFactor
◆ performUpdate:
◆ resetGraphicsState
| + (void) resetGraphicsState |
|
|
|
The documentation for this category was generated from the following file: