Package com.fs.starfarer.api.impl.combat
Class GenericCombatPlugin
java.lang.Object
com.fs.starfarer.api.combat.BaseEveryFrameCombatPlugin
com.fs.starfarer.api.impl.combat.GenericCombatPlugin
- All Implemented Interfaces:
CombatEnginePlugin
,EveryFrameCombatPlugin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
advance
(float amount, List<InputEventAPI> events) void
init
(CombatEngineAPI engine) Deprecated, not guaranteed to be called before advance() is called for an EveryFrameCombatPlugin.void
renderInUICoords
(ViewportAPI viewport) void
renderInWorldCoords
(ViewportAPI viewport) Methods inherited from class com.fs.starfarer.api.combat.BaseEveryFrameCombatPlugin
processInputPreCoreControls
-
Constructor Details
-
GenericCombatPlugin
public GenericCombatPlugin()
-
-
Method Details
-
init
Description copied from interface:CombatEnginePlugin
Deprecated, not guaranteed to be called before advance() is called for an EveryFrameCombatPlugin. Can still be relied on if the EveryFrameCombatPlugin.advance() method checks for any fields being set in init() being null.- Specified by:
init
in interfaceCombatEnginePlugin
- Overrides:
init
in classBaseEveryFrameCombatPlugin
-
advance
- Specified by:
advance
in interfaceEveryFrameCombatPlugin
- Overrides:
advance
in classBaseEveryFrameCombatPlugin
-
renderInUICoords
- Specified by:
renderInUICoords
in interfaceEveryFrameCombatPlugin
- Overrides:
renderInUICoords
in classBaseEveryFrameCombatPlugin
-
renderInWorldCoords
- Specified by:
renderInWorldCoords
in interfaceEveryFrameCombatPlugin
- Overrides:
renderInWorldCoords
in classBaseEveryFrameCombatPlugin
-