![]() |
Oolite 1.91.0.7650-250121-affa790
|
#include <OOECMBlastEntity.h>
Private Attributes | |
OOTimeDelta | _nextBlast |
uint_fast8_t | _blastsRemaining |
OOWeakReference * | _ship |
Definition at line 33 of file OOECMBlastEntity.h.
|
implementation |
Reimplemented from Entity.
Definition at line 111 of file OOECMBlastEntity.m.
References kZeroVector, and OODebugDrawPoint().
- (id) initFromShip: | (ShipEntity *) | ship |
Definition at line 48 of file OOECMBlastEntity.m.
References _blastsRemaining, _nextBlast, _ship, DESTROY, ECM_PULSE_COUNT, ECM_PULSE_INTERVAL, Entity::init, nil, Entity::position, Entity::setPosition:, Entity::setScanClass:, Entity::setStatus:, and OOWeakRefObject::weakRetain.
|
implementation |
Reimplemented from Entity.
Definition at line 120 of file OOECMBlastEntity.m.
References isECMBlast.
Referenced by isECMBlast.
|
implementation |
Reimplemented from Entity.
Definition at line 70 of file OOECMBlastEntity.m.
References _blastsRemaining, _nextBlast, count, ECM_PULSE_COUNT, ECM_PULSE_INTERVAL, nil, ShipEntity::noticeECM, OOJSAcquireContext(), OOJSRelinquishContext(), OOJSValueFromNativeObject(), ShipEntity::reactToAIMessage:context:, SCANNER_MAX_RANGE, ShipScriptEvent, Entity::status, and OOWeakReference::weakRefUnderlyingObject.
|
private |
Definition at line 37 of file OOECMBlastEntity.h.
Referenced by initFromShip:, and update:.
|
private |
Definition at line 36 of file OOECMBlastEntity.h.
Referenced by initFromShip:, and update:.
|
private |
Definition at line 38 of file OOECMBlastEntity.h.
Referenced by initFromShip:.