|
Oolite 1.91.0.7745-260117-205bce7
|
#include <OOPlasmaShotEntity.h>
Private Attributes | |
| OOTimeDelta | _duration |
Definition at line 29 of file OOPlasmaShotEntity.h.
|
implementation |
Reimplemented from OOLightParticleEntity.
Definition at line 69 of file OOPlasmaShotEntity.m.
References canCollide, kPlasmaShotActivationDelay, and Entity::spawnTime.
Referenced by canCollide.
|
implementation |
Reimplemented from Entity.
Definition at line 75 of file OOPlasmaShotEntity.m.
References Entity::isEffect, Entity::owner, and Entity::rootShipEntity.
| - (id) initWithPosition: | (HPVector) | position | |
| velocity: | (Vector) | velocity | |
| energy: | (float) | energy | |
| duration: | (OOTimeDelta) | duration | |
| color: | (OOColor *) | color |
Definition at line 46 of file OOPlasmaShotEntity.m.
References OOLightParticleEntity::_colorComponents, _duration, kPlasmaShotSize, Entity::setCollisionRadius:, OOLightParticleEntity::setColor:alpha:, Entity::setEnergy:, Entity::setPosition:, and Entity::setVelocity:.
|
implementation |
Reimplemented from Entity.
Definition at line 81 of file OOPlasmaShotEntity.m.
References OOLightParticleEntity::_colorComponents, _duration, Entity::collidingEntities, count, Entity::energy, Entity::owner, Entity::position, Entity::rootShipEntity, Entity::takeEnergyDamage:from:becauseOf:weaponIdentifier:, Entity::timeElapsedSinceSpawn, and Entity::update:.
|
private |
Definition at line 32 of file OOPlasmaShotEntity.h.
Referenced by initWithPosition:velocity:energy:duration:color:, and update:.