Class ResolveScenarioTracker

java.lang.Object
mekhq.campaign.ResolveScenarioTracker

public class ResolveScenarioTracker extends Object
This object will be the main workhorse for the scenario resolution wizard. It will keep track of information and be fed back and forth between the various wizards
  • Constructor Details

    • ResolveScenarioTracker

      public ResolveScenarioTracker(Scenario s, Campaign c, boolean ctrl)
  • Method Details

    • getCapturePrisoners

      public CapturePrisoners getCapturePrisoners()
    • isAutoResolve

      public boolean isAutoResolve()
    • findUnitFile

      public void findUnitFile()
    • getUnitFilePath

      public String getUnitFilePath()
    • setClient

      public void setClient(megamek.client.IClient c)
    • processMulFiles

      public void processMulFiles()
    • processGame

      public void processGame()
    • assignKills

      public void assignKills()
    • checkStatusOfPersonnel

      public void checkStatusOfPersonnel()
    • getAlliedUnits

      public List<TestUnit> getAlliedUnits()
    • getPotentialSalvage

      public List<TestUnit> getPotentialSalvage()
    • getDropShipBonus

      public Money getDropShipBonus()
    • getActualSalvage

      public List<TestUnit> getActualSalvage()
    • getSoldSalvage

      public List<TestUnit> getSoldSalvage()
    • getLeftoverSalvage

      public List<TestUnit> getLeftoverSalvage()
    • salvageUnit

      public void salvageUnit(int i)
    • sellUnit

      public void sellUnit(int i)
    • doNotSalvageUnit

      public void doNotSalvageUnit(int i)
    • setContractBreaches

      public void setContractBreaches(int i)
    • setBonusRolls

      public void setBonusRolls(int i)
    • getCampaign

      public Campaign getCampaign()
    • getScenario

      public Scenario getScenario()
    • getMission

      public Mission getMission()
    • getMissionId

      public int getMissionId()
    • getScenarioId

      public int getScenarioId()
    • getKillCredits

      public Hashtable<String,String> getKillCredits()
    • getUnits

      public List<Unit> getUnits()
    • resolveScenario

      public void resolveScenario(ScenarioStatus resolution, String report)
    • getMissingPersonnel

      public ArrayList<Person> getMissingPersonnel()
    • getDeadPersonnel

      public ArrayList<Person> getDeadPersonnel()
    • getRecoveredPersonnel

      public ArrayList<Person> getRecoveredPersonnel()
    • getPeopleStatus

    • getOppositionPersonnel

    • getUnitsStatus

    • getSalvageStatus

      public Hashtable<UUID,ResolveScenarioTracker.UnitStatus> getSalvageStatus()
    • getAllInvolvedUnits

      public Map<UUID,megamek.common.Entity> getAllInvolvedUnits()
    • getPotentialLoot

      public List<Loot> getPotentialLoot()
    • addLoot

      public void addLoot(Loot loot)
    • getSortedPeople

    • getSortedPrisoners

    • usesSalvageExchange

      public boolean usesSalvageExchange()
    • setEvent

      public void setEvent(megamek.common.event.PostGameResolution gve)
    • playerHasBattlefieldControl

      public boolean playerHasBattlefieldControl()