public class EnergyLashSystemAI extends java.lang.Object implements ShipSystemAIScript
| Modifier and Type | Field and Description |
|---|---|
protected CombatEngineAPI |
engine |
protected ShipwideAIFlags |
flags |
protected EnergyLashSystemScript |
script |
protected ShipAPI |
ship |
protected ShipSystemAPI |
system |
protected IntervalUtil |
tracker |
| Constructor and Description |
|---|
EnergyLashSystemAI() |
| Modifier and Type | Method and Description |
|---|---|
void |
advance(float amount,
org.lwjgl.util.vector.Vector2f missileDangerDir,
org.lwjgl.util.vector.Vector2f collisionDangerDir,
ShipAPI target) |
java.util.List<ShipAPI> |
getPossibleTargets() |
WeightedRandomPicker<ShipAPI> |
getWeightedTargets(ShipAPI shipTarget) |
void |
init(ShipAPI ship,
ShipSystemAPI system,
ShipwideAIFlags flags,
CombatEngineAPI engine) |
protected CombatEngineAPI engine
protected ShipwideAIFlags flags
protected ShipSystemAPI system
protected EnergyLashSystemScript script
protected IntervalUtil tracker
public EnergyLashSystemAI()
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 java.util.List<ShipAPI> getPossibleTargets()
public WeightedRandomPicker<ShipAPI> getWeightedTargets(ShipAPI shipTarget)