public interface ShipAIPlugin
Modifier and Type | Method and Description |
---|---|
void |
advance(float amount)
The AI should do its main work here.
|
void |
cancelCurrentManeuver() |
void |
forceCircumstanceEvaluation()
When this is called, the AI should immediately evaluate nearby threats and such,
if it only does it periodically otherwise.
|
ShipwideAIFlags |
getAIFlags() |
ShipAIConfig |
getConfig() |
boolean |
needsRefit()
Only called for fighters, not regular ships or drones.
|
void |
setDoNotFireDelay(float amount)
Advise the AI not to fire for amount seconds.
|
void setDoNotFireDelay(float amount)
amount
- void forceCircumstanceEvaluation()
void advance(float amount)
amount
- boolean needsRefit()
ShipwideAIFlags getAIFlags()
void cancelCurrentManeuver()
ShipAIConfig getConfig()
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.