public interface AutofireAIPlugin
| Modifier and Type | Method and Description |
|---|---|
void |
advance(float amount)
Only called when the group is on autofire.
|
void |
forceOff()
Tells the weapon AI to reconsider whether it should be firing, before it decides it should fire again.
|
org.lwjgl.util.vector.Vector2f |
getTarget() |
MissileAPI |
getTargetMissile() |
ShipAPI |
getTargetShip() |
WeaponAPI |
getWeapon() |
boolean |
shouldFire()
Only called when the group is on autofire.
|
void advance(float amount)
amount - seconds since last frame.boolean shouldFire()
void forceOff()
org.lwjgl.util.vector.Vector2f getTarget()
ShipAPI getTargetShip()
WeaponAPI getWeapon()
MissileAPI getTargetMissile()