Class BattleAutoresolverPluginImpl.EngagementResultImpl
java.lang.Object
com.fs.starfarer.api.impl.campaign.BattleAutoresolverPluginImpl.EngagementResultImpl
- All Implemented Interfaces:
EngagementResultAPI
- Enclosing class:
- BattleAutoresolverPluginImpl
public static class BattleAutoresolverPluginImpl.EngagementResultImpl
extends Object
implements EngagementResultAPI
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsConstructorDescriptionEngagementResultImpl
(BattleAPI battle, CampaignFleetAPI winner, CampaignFleetAPI loser) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
void
setLastCombatDamageData
(CombatDamageData lastCombatData) void
setPlayerOutBeforeEnd
(boolean playerOutBeforeEnd)
-
Field Details
-
battle
-
winnerResult
-
loserResult
-
-
Constructor Details
-
EngagementResultImpl
-
-
Method Details
-
getBattle
- Specified by:
getBattle
in interfaceEngagementResultAPI
-
didPlayerWin
public boolean didPlayerWin()- Specified by:
didPlayerWin
in interfaceEngagementResultAPI
-
getLoserResult
- Specified by:
getLoserResult
in interfaceEngagementResultAPI
-
getWinnerResult
- Specified by:
getWinnerResult
in interfaceEngagementResultAPI
-
isPlayerOutBeforeEnd
public boolean isPlayerOutBeforeEnd()- Specified by:
isPlayerOutBeforeEnd
in interfaceEngagementResultAPI
-
setPlayerOutBeforeEnd
public void setPlayerOutBeforeEnd(boolean playerOutBeforeEnd) - Specified by:
setPlayerOutBeforeEnd
in interfaceEngagementResultAPI
-
setBattle
- Specified by:
setBattle
in interfaceEngagementResultAPI
-
getLastCombatDamageData
- Specified by:
getLastCombatDamageData
in interfaceEngagementResultAPI
-
setLastCombatDamageData
- Specified by:
setLastCombatDamageData
in interfaceEngagementResultAPI
-