Oolite 1.91.0.7644-241112-7f5034b
Loading...
Searching...
No Matches
OOFlashEffectEntity(Private) Category Reference

Instance Methods

(id) - initWithPosition:size:color:duration:
 
(void) - performUpdate:
 

Class Methods

(void) + resetGraphicsState
 

Detailed Description

Definition at line 44 of file OOFlashEffectEntity.m.

Method Documentation

◆ 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;
99 _growthRate = kGrowthRateFactor * size;
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
voidpf void uLong size
Definition ioapi.h:134

◆ performUpdate:

- (void) performUpdate: (OOTimeDelta) delta_t

Extends class OOFlashEffectEntity.

◆ resetGraphicsState

+ (void) resetGraphicsState

Extends class OOFlashEffectEntity.


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