|
Oolite
|
#include <OOECMBlastEntity.h>
Private Attributes | |
| OOTimeDelta | _nextBlast |
| uint8_t | _blastsRemaining |
| OOWeakReference * | _ship |
Definition at line 32 of file OOECMBlastEntity.h.
|
implementation |
Reimplemented from Entity.
Definition at line 102 of file OOECMBlastEntity.m.
References kZeroVector.
| - (id) initFromShip: | (ShipEntity*) | ship |
Definition at line 45 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 110 of file OOECMBlastEntity.m.
References isECMBlast.
Referenced by isECMBlast.
|
implementation |
Reimplemented from Entity.
Definition at line 63 of file OOECMBlastEntity.m.
References _blastsRemaining, _nextBlast, count, ECM_PULSE_COUNT, ECM_PULSE_INTERVAL, nil, ShipEntity::noticeECM, OOClamp_0_1_d(), OOJSAcquireContext(), OOJSRelinquishContext(), OOJSValueFromDouble(), OOJSValueFromNativeObject(), ShipEntity::reactToAIMessage:context:, SCANNER_MAX_RANGE, ShipScriptEvent, Entity::status, and OOWeakReference::weakRefUnderlyingObject.
|
private |
Definition at line 35 of file OOECMBlastEntity.h.
Referenced by initFromShip:, and update:.
|
private |
Definition at line 34 of file OOECMBlastEntity.h.
Referenced by initFromShip:, and update:.
|
private |
Definition at line 36 of file OOECMBlastEntity.h.
Referenced by initFromShip:.