Oolite 1.91.0.7647-241230-5e1c242
|
#include <OORingEffectEntity.h>
Class Methods | |
(instancetype) | + ringFromEntity: |
(instancetype) | + shrinkingRingFromEntity: |
(void) | + initialize [implementation] |
Private Attributes | |
GLfloat | _timePassed |
GLfloat | _innerRadius |
GLfloat | _outerRadius |
GLfloat | _innerGrowthRate |
GLfloat | _outerGrowthRate |
Definition at line 32 of file OORingEffectEntity.h.
|
implementation |
Reimplemented from Entity.
Definition at line 167 of file OORingEffectEntity.m.
References canCollide.
Referenced by canCollide.
|
implementation |
Reimplemented from Entity.
Definition at line 113 of file OORingEffectEntity.m.
References descriptionComponents.
Referenced by descriptionComponents.
|
implementation |
Reimplemented from Entity.
Definition at line 134 of file OORingEffectEntity.m.
References _innerRadius, _outerRadius, _timePassed, kCircleSegments, kRingAttack, kRingDuration, OO_ENTER_OPENGL, OOCheckOpenGLErrors(), OOGLBEGIN, OOGLEND, OOSetOpenGLState, OOVerifyOpenGLState, OPENGL_STATE_ADDITIVE_BLENDING, sCircleVerts, UNIVERSE, x, and y.
|
implementation |
Definition at line 54 of file OORingEffectEntity.m.
References initialize, kCircleSegments, M_PI, and sCircleVerts.
Referenced by initialize.
|
implementation |
Definition at line 65 of file OORingEffectEntity.m.
References _innerGrowthRate, _innerRadius, _outerGrowthRate, _outerRadius, Entity::collisionRadius, Entity::init, kInnerRingGrowthRateFactor, kInnerRingInitialSizeFactor, kOuterRingGrowthRateFactor, kOuterRingInitialSizeFactor, nil, Entity::orientation, Entity::position, Entity::setOrientation:, Entity::setOwner:, Entity::setPosition:, Entity::setScanClass:, Entity::setStatus:, Entity::setVelocity:, and Entity::velocity.
|
implementation |
Reimplemented from Entity.
Definition at line 161 of file OORingEffectEntity.m.
References isEffect.
Referenced by isEffect.
+ (instancetype) ringFromEntity: | (Entity *) | sourceEntity |
Definition at line 95 of file OORingEffectEntity.m.
Referenced by Universe::addWitchspaceJumpEffectForShip:, ShipEntity::becomeExplosion, and shrinkingRingFromEntity:.
+ (instancetype) shrinkingRingFromEntity: | (Entity *) | sourceEntity |
Definition at line 101 of file OORingEffectEntity.m.
References _innerGrowthRate, _outerGrowthRate, kShrinkingRingInnerGrowthFactor, kShrinkingRingOuterGrowthFactor, nil, and ringFromEntity:.
Referenced by Universe::addWitchspaceJumpEffectForShip:.
|
implementation |
Reimplemented from Entity.
Definition at line 119 of file OORingEffectEntity.m.
References _innerGrowthRate, _innerRadius, _outerGrowthRate, _outerRadius, _timePassed, kRingDuration, and Entity::update:.
|
private |
Definition at line 38 of file OORingEffectEntity.h.
Referenced by initRingFromEntity:, shrinkingRingFromEntity:, and update:.
|
private |
Definition at line 36 of file OORingEffectEntity.h.
Referenced by drawImmediate:translucent:, initRingFromEntity:, and update:.
|
private |
Definition at line 39 of file OORingEffectEntity.h.
Referenced by initRingFromEntity:, shrinkingRingFromEntity:, and update:.
|
private |
Definition at line 37 of file OORingEffectEntity.h.
Referenced by drawImmediate:translucent:, initRingFromEntity:, and update:.
|
private |
Definition at line 35 of file OORingEffectEntity.h.
Referenced by drawImmediate:translucent:, and update:.