public class SurveyPlanetIntelCreator extends java.lang.Object implements GenericMissionManager.GenericMissionCreator
| Modifier and Type | Field and Description |
|---|---|
protected WeightedRandomPicker<PlanetAPI> |
planetPicker |
| Constructor and Description |
|---|
SurveyPlanetIntelCreator() |
| Modifier and Type | Method and Description |
|---|---|
EveryFrameScript |
createMissionIntel() |
float |
getMissionFrequencyWeight() |
protected void |
initPicker() |
static boolean |
isValidMissionTarget(PlanetAPI planet) |
protected PlanetAPI |
pickPlanet() |
protected void |
prunePicker() |
protected transient WeightedRandomPicker<PlanetAPI> planetPicker
public SurveyPlanetIntelCreator()
public EveryFrameScript createMissionIntel()
createMissionIntel in interface GenericMissionManager.GenericMissionCreatorpublic float getMissionFrequencyWeight()
getMissionFrequencyWeight in interface GenericMissionManager.GenericMissionCreatorprotected void initPicker()
protected void prunePicker()
public static boolean isValidMissionTarget(PlanetAPI planet)
protected PlanetAPI pickPlanet()