public class ConvulsiveLungeSystemAI extends java.lang.Object implements ShipSystemAIScript
| Modifier and Type | Class and Description |
|---|---|
static class |
ConvulsiveLungeSystemAI.SharedLungeAIData |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allowAggroUse |
protected CombatEngineAPI |
engine |
protected ShipwideAIFlags |
flags |
static float |
HULL_LOSS_FOR_PULLBACK |
protected float |
hullLevelAtPrevSystemUse |
static float |
MAW_LUNGE_ARC |
static float |
MIN_AGGRO_USE_INTERVAL |
protected float |
prevHardFluxLevel |
protected float |
recentAggroUseScore |
protected ConvulsiveLungeSystemScript |
script |
protected ShipAPI |
ship |
protected float |
sinceUsedForAttackOrMove |
protected ShipSystemAPI |
system |
protected IntervalUtil |
tracker |
static float |
USE_SCORE_PER_USE |
static float |
USE_SCORE_THRESHOLD |
| Constructor and Description |
|---|
ConvulsiveLungeSystemAI() |
| Modifier and Type | Method and Description |
|---|---|
void |
advance(float amount,
org.lwjgl.util.vector.Vector2f missileDangerDir,
org.lwjgl.util.vector.Vector2f collisionDangerDir,
ShipAPI target) |
static ConvulsiveLungeSystemAI.SharedLungeAIData |
getSharedData() |
void |
giveCommand(org.lwjgl.util.vector.Vector2f target) |
void |
init(ShipAPI ship,
ShipSystemAPI system,
ShipwideAIFlags flags,
CombatEngineAPI engine) |
boolean |
isSystemUsable() |
public static float HULL_LOSS_FOR_PULLBACK
public static float MAW_LUNGE_ARC
public static float MIN_AGGRO_USE_INTERVAL
public static float USE_SCORE_PER_USE
public static float USE_SCORE_THRESHOLD
protected CombatEngineAPI engine
protected ShipwideAIFlags flags
protected ShipSystemAPI system
protected ConvulsiveLungeSystemScript script
protected float sinceUsedForAttackOrMove
protected float recentAggroUseScore
protected boolean allowAggroUse
protected IntervalUtil tracker
protected float hullLevelAtPrevSystemUse
protected float prevHardFluxLevel
public ConvulsiveLungeSystemAI()
public static ConvulsiveLungeSystemAI.SharedLungeAIData getSharedData()
public void init(ShipAPI ship, ShipSystemAPI system, ShipwideAIFlags flags, CombatEngineAPI engine)
init in interface ShipSystemAIScriptpublic void advance(float amount, org.lwjgl.util.vector.Vector2f missileDangerDir, org.lwjgl.util.vector.Vector2f collisionDangerDir, ShipAPI target)
advance in interface ShipSystemAIScriptpublic boolean isSystemUsable()
public void giveCommand(org.lwjgl.util.vector.Vector2f target)