Class PerformBatchall
java.lang.Object
mekhq.campaign.universe.factionStanding.PerformBatchall
Handles the process of issuing Batchalls to the player when facing a Clan opponent.
This class manages the display of dialogue options, tracks player responses, and presents appropriate narrative follow-ups based on player input and faction standing.
The main logic randomly selects variations of the Batchall narrative and handles both acceptance and refusal workflows, including confirmation and follow-up dialogs.
- Since:
- 0.50.07
-
Constructor Summary
ConstructorsConstructorDescriptionPerformBatchall(Campaign campaign, Person clanOpponent, String enemyFactionCode) Constructs a newPerformBatchallhandler for the specified campaign and Clan opponent. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the player accepted the Batchall challenge.
-
Constructor Details
-
PerformBatchall
Constructs a newPerformBatchallhandler for the specified campaign and Clan opponent.Initializes the dialog flow, beginning with the Batchall challenge and tracking the player's response.
- Parameters:
campaign- The current campaign context.clanOpponent- The opponent issuing the Batchall challenge.enemyFactionCode- The internal code of the opponent's faction.- Since:
- 0.50.07
-
-
Method Details
-
isBatchallAccepted
public boolean isBatchallAccepted()Returns whether the player accepted the Batchall challenge.- Returns:
trueif the player accepted the Batchall;falseotherwise.- Since:
- 0.50.07
-