Oolite
Loading...
Searching...
No Matches
OOFlasherEntity(Internal) Category Reference

Instance Methods

(void) - setUpColors:
(void) - getCurrentColorComponents

Detailed Description

Definition at line 33 of file OOFlasherEntity.m.

Method Documentation

◆ getCurrentColorComponents

- (void) getCurrentColorComponents

Extends class OOFlasherEntity.

Definition at line 82 of file OOFlasherEntity.m.

83{
84 [self setColor:[_colors objectAtIndex:_activeColor] alpha:_colorComponents[3]];
85}

References getCurrentColorComponents, and OOLightParticleEntity::setColor:alpha:.

Referenced by getCurrentColorComponents, and OOFlasherEntity::initWithDictionary:.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setUpColors:

- (void) setUpColors: (NSArray *) colorSpecifiers

Extends class OOFlasherEntity.

Definition at line 71 of file OOFlasherEntity.m.

71 :(NSArray*)colorSpecifiers
72{
73 NSMutableArray* colors = [NSMutableArray arrayWithCapacity:[colorSpecifiers count]];
74 id specifier = nil;
75 foreach (specifier, colorSpecifiers) {
76 [colors addObject:[OOColor colorWithDescription:specifier saturationFactor:0.75f]];
77 }
78
79 _colors = [colors copy];
80}
return nil
OOColor * colorWithDescription:saturationFactor:(id description,[saturationFactor] float factor)
Definition OOColor.m:140

References OOColor::colorWithDescription:saturationFactor:, and nil.

Referenced by OOFlasherEntity::initWithDictionary:.

Here is the call graph for this function:
Here is the caller graph for this function:

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