Oolite 1.91.0.7646-241128-10e222e
Loading...
Searching...
No Matches
OOFlasherEntity(Internal) Category Reference

Instance Methods

(void) - setUpColors:
 
(void) - getCurrentColorComponents
 

Detailed Description

Definition at line 34 of file OOFlasherEntity.m.

Method Documentation

◆ getCurrentColorComponents

- (void) getCurrentColorComponents

Extends class OOFlasherEntity.

Definition at line 1 of file OOFlasherEntity.m.

92{
93 [self setColor:[_colors objectAtIndex:_activeColor] alpha:_colorComponents[3]];
94}

◆ setUpColors:

- (void) setUpColors: (NSArray *) colorSpecifiers

Extends class OOFlasherEntity.

Definition at line 1 of file OOFlasherEntity.m.

77 :(NSArray *)colorSpecifiers
78{
79 NSMutableArray *colors = [NSMutableArray arrayWithCapacity:[colorSpecifiers count]];
80 id specifier = nil;
81 NSEnumerator *specEnum = [colorSpecifiers objectEnumerator];
82 while ((specifier = [specEnum nextObject]))
83 {
84 [colors addObject:[OOColor colorWithDescription:specifier saturationFactor:0.75f]];
85 }
86
87 _colors = [colors copy];
88}
return nil
OOColor * colorWithDescription:saturationFactor:(id description,[saturationFactor] float factor)
Definition OOColor.m:133

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