Class OfficerDuelBuiltInScenario
java.lang.Object
mekhq.campaign.mission.Scenario
mekhq.campaign.mission.AtBScenario
mekhq.campaign.mission.atb.scenario.OfficerDuelBuiltInScenario
- All Implemented Interfaces:
- IAtBScenario,- IPlayerSettings
- 
Field SummaryFields inherited from class mekhq.campaign.mission.AtBScenarioACE_DUEL, ALLIED_TRAITORS, ALLY_RESCUE, AMBUSH, antiRiotWeapons, BASE_ATTACK, BREAKTHROUGH, CHASE, CIVILIAN_HELP, CIVILIAN_RIOT, CONVOY_ATTACK, CONVOY_RESCUE, defaultResourceBundle, DYNAMIC, EXTRACTION, FORCE_AERO, FORCE_BA, FORCE_INFANTRY, FORCE_MEK, FORCE_MIXED, FORCE_NOVA, FORCE_PROTOMEK, FORCE_VEE_NOVA, FORCE_VEHICLE, forceTypeNames, HIDE_AND_SEEK, HOLD_THE_LINE, NO_COMBAT_TEAM, OFFICER_DUEL, PIRATE_FREE_FOR_ALL, PRISON_BREAK, PROBE, RECON_RAID, STANDUP, STAR_LEAGUE_CACHE_1, STAR_LEAGUE_CACHE_2, startPosFields inherited from class mekhq.campaign.mission.Scenarioatmosphere, botForces, botForcesStubs, fog, gravity, light, S_DEFAULT_ID, T_ATMOSPHERE, T_GROUND, T_SPACE, weather, wind
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanDetermines whether a unit is eligible to deploy to the scenario.booleanbooleanbooleanintbooleanvoidsetExtraScenarioForces(Campaign campaign, ArrayList<megamek.common.units.Entity> allyEntities, ArrayList<megamek.common.units.Entity> enemyEntities) voidvoidvoidsetObjectives(Campaign campaign, AtBContract contract) voidMethods inherited from class mekhq.campaign.mission.AtBScenarioaddAeroReinforcements, addCivilianUnits, addDropship, addEnemyForce, addEnemyForce, addLance, addLance, addScrubReinforcements, addTransportRelationship, addTurrets, canAddDropShips, canDeploy, canDeployForces, canDeployUnits, canRerollMapSize, canRerollTerrain, canStartScenario, filterUntransportedUnits, generateStub, getAlliesPlayer, getAlliesPlayerStub, getAllyBotForce, getAttachedUnitIds, getBaseMapX, getBaseMapY, getBattlefieldControlDescription, getCombatRole, getCombatTeamById, getCombatTeamId, getContract, getCsvFromList, getDeploymentDelay, getDeploymentInstructions, getDesc, getEnemyBotForce, getEnemyBotForce, getEnemyHome, getEntity, getEntity, getForceCount, getMapX, getMapY, getModifiedTemperature, getNumPlayerMinefields, getRerollsRemaining, getResourceBundle, getSpecialScenarioEnemies, getStratconScenario, getSurvivalBonusIds, getTerrainType, getTransportLinkages, initialize, isAttacker, isBigBattle, isFriendlyUnit, isStandardScenario, loadFieldsFromXmlNode, refresh, selectBotTeamCommanders, setAttacker, setCombatTeam, setDeploymentDelay, setEnemyHome, setForceCount, setForces, setMapFile, setMapSize, setModifiedTemperature, setNumPlayerMinefields, setPlanetaryConditions, setRerolls, setScenarioMap, setTerrain, setTerrainType, setTransportLinkages, useReroll, writeToXMLEndMethods inherited from class mekhq.campaign.mission.ScenarioaddBotForce, addForces, addLoot, addPlayerTransportRelationship, addUnit, canWindShiftDirection, canWindShiftStrength, clearAllForcesAndPersonnel, containsPlayerUnit, convertToStub, createPlanetaryConditions, generateInstanceFromXML, getAtmosphere, getBlowingSand, getBoardType, getBoardTypeName, getBotForce, getBotForces, getBotForcesStubs, getDate, getDeploymentLimit, getDescription, getEMI, getEntityStub, getExternalIDLookup, getFog, getForceIDs, getForces, getForceStub, getGravity, getHasTrack, getHyperlinkedName, getId, getIndividualUnitIDs, getLight, getLinkedScenario, getLoot, getMap, getMapForDisplay, getMapSizeX, getMapSizeY, getMaxWindStrength, getMinWindStrength, getMissionId, getName, getNumBots, getPlayerTransportLinkages, getReport, getScenarioObjectives, getStartingAnyNWx, getStartingAnyNWy, getStartingAnySEx, getStartingAnySEy, getStartingPos, getStartOffset, getStartWidth, getStatus, getStratConScenarioType, getTemperature, getTraitorUnits, getWeather, getWind, hasObjectives, includesRequiredPersonnel, includesRequiredUnits, isAssigned, isCloaked, isCrisis, isTraitor, isTraitor, isUsingFixedMap, readPlanetaryConditions, removeBotForce, removeForce, removeUnit, resetLoot, setAtmosphere, setBlowingSand, setBoardType, setBotForces, setCloaked, setDate, setDeploymentLimit, setDesc, setEMI, setExternalIDLookup, setFog, setGravity, setHasTrack, setId, setIsCrisis, setLight, setLinkedScenarioID, setMap, setMapSizeX, setMapSizeY, setMaxWindStrength, setMinWindStrength, setMissionId, setName, setReport, setScenarioObjectives, setShiftWindDirection, setShiftWindStrength, setStartingAnyNWx, setStartingAnyNWy, setStartingAnySEx, setStartingAnySEy, setStartingPos, setStartOffset, setStartWidth, setStatus, setStratConScenarioType, setTemperature, setUsingFixedMap, setWeather, setWind, writeToXML, writeToXMLBegin
- 
Constructor Details- 
OfficerDuelBuiltInScenariopublic OfficerDuelBuiltInScenario()
 
- 
- 
Method Details- 
isSpecialScenariopublic boolean isSpecialScenario()- Specified by:
- isSpecialScenarioin interface- IAtBScenario
- Overrides:
- isSpecialScenarioin class- AtBScenario
 
- 
getScenarioTypepublic int getScenarioType()
- 
getScenarioTypeDescription
- 
getResourceKey
- 
setLightConditionspublic void setLightConditions()- Overrides:
- setLightConditionsin class- AtBScenario
 
- 
setWeatherConditionspublic void setWeatherConditions()- Overrides:
- setWeatherConditionsin class- AtBScenario
 
- 
setMapFilepublic void setMapFile()- Overrides:
- setMapFilein class- AtBScenario
 
- 
canRerollMappublic boolean canRerollMap()- Overrides:
- canRerollMapin class- AtBScenario
 
- 
canRerollLightpublic boolean canRerollLight()- Overrides:
- canRerollLightin class- AtBScenario
 
- 
canRerollWeatherpublic boolean canRerollWeather()- Overrides:
- canRerollWeatherin class- AtBScenario
 
- 
canDeployDescription copied from class:AtBScenarioDetermines whether a unit is eligible to deploy to the scenario. The default is true, but some special scenarios and big battles restrict the participants.- Overrides:
- canDeployin class- AtBScenario
- Parameters:
- unit- - The Unit to be deployed
- campaign- - a pointer to the Campaign
- Returns:
- true if the unit is eligible, otherwise false
 
- 
setExtraScenarioForcespublic void setExtraScenarioForces(Campaign campaign, ArrayList<megamek.common.units.Entity> allyEntities, ArrayList<megamek.common.units.Entity> enemyEntities) - Specified by:
- setExtraScenarioForcesin interface- IAtBScenario
- Overrides:
- setExtraScenarioForcesin class- AtBScenario
 
- 
setObjectives- Overrides:
- setObjectivesin class- AtBScenario
 
 
-