public class PlanetaryShieldBarEvent extends BaseBarEventWithPerson
| Modifier and Type | Class and Description |
|---|---|
static class |
PlanetaryShieldBarEvent.OptionId |
| Modifier and Type | Field and Description |
|---|---|
protected PersonAPI |
pilot |
protected MarketAPI |
pilotMarket |
market, person, random, seeddialog, done, memoryMap, noContinue, options, shownAt, text| Constructor and Description |
|---|
PlanetaryShieldBarEvent() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addIntel() |
void |
addPromptAndOption(InteractionDialogAPI dialog,
java.util.Map<java.lang.String,MemoryAPI> memoryMap) |
protected java.lang.String |
getPersonFaction() |
protected FullName.Gender |
getPersonGender() |
protected java.lang.String |
getPersonPortrait() |
protected java.lang.String |
getPersonPost() |
protected java.lang.String |
getPersonRank() |
PersonAPI |
getPilot() |
MarketAPI |
getPilotMarket() |
static PlanetAPI |
getTargetPlanet() |
void |
init(InteractionDialogAPI dialog,
java.util.Map<java.lang.String,MemoryAPI> memoryMap) |
void |
optionSelected(java.lang.String optionText,
java.lang.Object optionData) |
protected void |
regen(MarketAPI market) |
boolean |
shouldShowAtMarket(MarketAPI market) |
createPerson, getHeOrShe, getHimOrHer, getHimOrHerself, getHisOrHer, getManOrWoman, getMarket, getPerson, getRandom, isDialogFinishedadvance, endWithContinue, getBarEventId, getShownAt, isAlwaysShow, shouldRemoveEvent, wasShownAtMarketprotected MarketAPI pilotMarket
public PlanetaryShieldBarEvent()
public static PlanetAPI getTargetPlanet()
public boolean shouldShowAtMarket(MarketAPI market)
shouldShowAtMarket in interface PortsideBarEventshouldShowAtMarket in class BaseBarEventprotected void regen(MarketAPI market)
regen in class BaseBarEventWithPersonpublic void addPromptAndOption(InteractionDialogAPI dialog, java.util.Map<java.lang.String,MemoryAPI> memoryMap)
addPromptAndOption in interface PortsideBarEventaddPromptAndOption in class BaseBarEventpublic void init(InteractionDialogAPI dialog, java.util.Map<java.lang.String,MemoryAPI> memoryMap)
init in interface PortsideBarEventinit in class BaseBarEventpublic void optionSelected(java.lang.String optionText, java.lang.Object optionData)
optionSelected in interface PortsideBarEventoptionSelected in class BaseBarEventprotected void addIntel()
protected java.lang.String getPersonFaction()
getPersonFaction in class BaseBarEventWithPersonprotected java.lang.String getPersonRank()
getPersonRank in class BaseBarEventWithPersonprotected java.lang.String getPersonPost()
getPersonPost in class BaseBarEventWithPersonprotected java.lang.String getPersonPortrait()
getPersonPortrait in class BaseBarEventWithPersonprotected FullName.Gender getPersonGender()
getPersonGender in class BaseBarEventWithPersonpublic MarketAPI getPilotMarket()