Interface IScenarioLifecycleStrategy

All Known Implementing Classes:
StratConScenarioLifecycleStrategy

public interface IScenarioLifecycleStrategy
Strategy for advancing scenarios through their lifecycle: expiring scenarios the player ignored, returning committed forces once their deployment ends, and applying the consequences of a completed scenario.

The method signatures mirror the corresponding static entry points on StratConRulesManager; the default StratCon implementation delegates to them, so the rules themselves are unchanged — only the daily loop that invokes them now lives in AbstractStratConGM.

Since:
0.51.01
  • Method Details

    • processForceReturnDates

      void processForceReturnDates(StratConTrackState track, Campaign campaign)
      Processes the return of forces whose deployment window on a track has elapsed.
      Parameters:
      track - the track whose deployed forces are checked
      campaign - the active campaign
    • processExpiredScenario

      void processExpiredScenario(StratConScenario scenario, StratConTrackState track, StratConCampaignState campaignState)
      Applies the consequences of a scenario the player allowed to expire without committing forces.
      Parameters:
      scenario - the expired scenario
      track - the track the scenario belongs to
      campaignState - the StratCon state for the contract
    • processScenarioCompletion

      void processScenarioCompletion(ResolveScenarioTracker tracker)
      Applies the results of a resolved scenario (rewards, casualties, facility changes, and so on).
      Parameters:
      tracker - the resolution tracker carrying the completed scenario's outcome