|
Oolite
|
#include <OOBreakPatternEntity.h>
Class Methods | |
| (instancetype) | + breakPatternWithPolygonSides:startAngle:aspectRatio: |
Private Attributes | |
| Vector | _vertexPosition [kOOBreakPatternMaxVertices] |
| GLfloat | _vertexColor [kOOBreakPatternMaxVertices][4] |
| NSUInteger | _vertexCount |
| double | _lifetime |
Definition at line 40 of file OOBreakPatternEntity.h.
| + (instancetype) breakPatternWithPolygonSides: | (NSUInteger) | sides | |
| startAngle: | (float) | startAngleDegrees | |
| aspectRatio: | (float) | aspectRatio |
Definition at line 78 of file OOBreakPatternEntity.m.
Referenced by Universe::setUpBreakPattern:orientation:forDocking:.
|
implementation |
Reimplemented from Entity.
Definition at line 150 of file OOBreakPatternEntity.m.
References canCollide.
Referenced by canCollide.
|
implementation |
Reimplemented from Entity.
Definition at line 116 of file OOBreakPatternEntity.m.
References _vertexColor, _vertexCount, _vertexPosition, Entity::isImmuneToBreakPatternHide, OO_ENTER_OPENGL, OOCheckOpenGLErrors(), OOGL, OOSetOpenGLState, OOVerifyOpenGLState, and OPENGL_STATE_OPAQUE.
|
implementation |
Definition at line 41 of file OOBreakPatternEntity.m.
References _vertexCount, _vertexPosition, Entity::init, Entity::isImmuneToBreakPatternHide, kOOBreakPatternMaxSides, M_PI, MAX, MIN, setInnerColorComponents:outerColorComponents:, Entity::setScanClass:, and Entity::setStatus:.
|
implementation |
Reimplemented from Entity.
Definition at line 155 of file OOBreakPatternEntity.m.
References isBreakPattern.
Referenced by isBreakPattern.
Definition at line 83 of file OOBreakPatternEntity.m.
References OOColor::getRed:green:blue:alpha:, and setInnerColorComponents:outerColorComponents:.
Referenced by Universe::setUpBreakPattern:orientation:forDocking:.
|
implementation |
Provided by category OOBreakPatternEntity(Private).
Definition at line 91 of file OOBreakPatternEntity.m.
Referenced by initWithPolygonSides:startAngle:aspectRatio:, and setInnerColor:outerColor:.
| - (void) setLifetime: | (double) | lifetime |
Definition at line 101 of file OOBreakPatternEntity.m.
References _lifetime.
Referenced by Universe::setUpBreakPattern:orientation:forDocking:.
|
implementation |
Reimplemented from Entity.
Definition at line 106 of file OOBreakPatternEntity.m.
References _lifetime, BREAK_PATTERN_RING_SPEED, and Entity::update:.
|
private |
Definition at line 45 of file OOBreakPatternEntity.h.
Referenced by setLifetime:, and update:.
|
private |
Definition at line 43 of file OOBreakPatternEntity.h.
Referenced by drawImmediate:translucent:.
|
private |
Definition at line 44 of file OOBreakPatternEntity.h.
Referenced by drawImmediate:translucent:, and initWithPolygonSides:startAngle:aspectRatio:.
|
private |
Definition at line 42 of file OOBreakPatternEntity.h.
Referenced by drawImmediate:translucent:, and initWithPolygonSides:startAngle:aspectRatio:.