Package mekhq.campaign.events
Class UltimatumResolvedEvent
java.lang.Object
megamek.common.event.MMEvent
mekhq.campaign.events.CampaignEvent
mekhq.campaign.events.UltimatumResolvedEvent
Triggered once the player has answered a Faction Standing ultimatum and its consequences have been applied. An
ultimatum the GM ignored triggers nothing, since it had no consequences.
- Since:
- 0.51.01
-
Field Summary
Fields inherited from class megamek.common.event.MMEvent
cancelled -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanMethods inherited from class mekhq.campaign.events.CampaignEvent
getCampaignMethods inherited from class megamek.common.event.MMEvent
cancel, isCancellable, isCancelled
-
Constructor Details
-
UltimatumResolvedEvent
public UltimatumResolvedEvent(Campaign campaign, String ultimatumName, Faction chosenFaction, boolean wentRogue, List<Person> departed) - Parameters:
campaign- the campaign that received the ultimatumultimatumName- the ultimatum's unique namechosenFaction- the faction the campaign now belongs to: the chosen side's, or Mercenary or PiratewentRogue-trueif the player went Mercenary or Pirate instead of choosing a sidedeparted- everyone who left the campaign or died because of the decision
-
-
Method Details
-
getUltimatumName
-
getChosenFaction
-
isWentRogue
public boolean isWentRogue() -
getDeparted
- Returns:
- everyone who left the campaign or died because of the decision
-