public class TriTachLoanBarEvent extends BaseGetCommodityBarEvent
| Modifier and Type | Field and Description |
|---|---|
protected int |
loanAmount |
static int |
REPAYMENT_DAYS |
protected int |
repaymentAmount |
protected int |
repaymentDays |
commodity, market, OPTION_CANCEL, OPTION_CONFIRM, OPTION_CONTINUE, person, quantity, random, seed, unitPricedialog, done, memoryMap, noContinue, options, shownAt, text| Constructor and Description |
|---|
TriTachLoanBarEvent() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addStoryOption() |
protected void |
adjustPerson(PersonAPI person) |
protected void |
createIntel() |
protected void |
doStandardConfirmActions() |
protected java.lang.String |
getAcceptText() |
protected java.lang.String |
getCancelText() |
protected java.lang.String |
getConfirmText() |
int |
getLoanAmount() |
protected java.lang.String |
getMainText() |
protected java.awt.Color[] |
getMainTextColors() |
protected java.lang.String[] |
getMainTextTokens() |
protected int |
getNegotiatedAmount() |
protected java.lang.String |
getNegotiatedText() |
protected java.lang.String |
getOptionText() |
protected java.lang.String |
getPersonFaction() |
protected java.lang.String |
getPersonPost() |
protected java.lang.String |
getPersonRank() |
protected float |
getPriceMult() |
protected java.lang.String |
getPrompt() |
int |
getRepaymentAmount() |
int |
getRepaymentDays() |
void |
optionSelected(java.lang.String optionText,
java.lang.Object optionData) |
protected void |
regen(MarketAPI market) |
void |
setLoanAmount(int loanAmount) |
void |
setRepaymentAmount(int repaymentAmount) |
void |
setRepaymentDays(int repaymentDays) |
boolean |
shouldShowAtMarket(MarketAPI market) |
protected boolean |
showCargoCap() |
addPromptAndOption, canAccept, computeQuantity, createPerson, doConfirmActionsPreAcceptText, doExtraConfirmActions, getAcceptTextColors, getAcceptTextTokens, getCanNotAcceptTooltip, getCommodityId, getDeclineText, getDeclineTextColors, getDeclineTextTokens, getHeOrShe, getHimOrHer, getHimOrHerself, getHisOrHer, getMainText2, getMainText2Colors, getMainText2Tokens, getManOrWoman, getMarket, getPerson, init, isDialogFinished, pickHighImportance, pickImportance, pickLowImportance, pickMediumImportance, pickOne, showTotalAndOptionsadvance, endWithContinue, getBarEventId, getShownAt, isAlwaysShow, shouldRemoveEvent, wasShownAtMarketpublic static int REPAYMENT_DAYS
protected int loanAmount
protected int repaymentAmount
protected int repaymentDays
public TriTachLoanBarEvent()
public boolean shouldShowAtMarket(MarketAPI market)
shouldShowAtMarket in interface PortsideBarEventshouldShowAtMarket in class BaseBarEventprotected void regen(MarketAPI market)
regen in class BaseGetCommodityBarEventprotected void doStandardConfirmActions()
doStandardConfirmActions in class BaseGetCommodityBarEventprotected int getNegotiatedAmount()
protected void addStoryOption()
addStoryOption in class BaseGetCommodityBarEventpublic void optionSelected(java.lang.String optionText, java.lang.Object optionData)
optionSelected in interface PortsideBarEventoptionSelected in class BaseGetCommodityBarEventprotected void createIntel()
protected java.lang.String getPersonFaction()
getPersonFaction in class BaseGetCommodityBarEventprotected java.lang.String getPersonRank()
getPersonRank in class BaseGetCommodityBarEventprotected void adjustPerson(PersonAPI person)
adjustPerson in class BaseGetCommodityBarEventprotected java.lang.String getPersonPost()
getPersonPost in class BaseGetCommodityBarEventprotected float getPriceMult()
getPriceMult in class BaseGetCommodityBarEventprotected java.lang.String getPrompt()
getPrompt in class BaseGetCommodityBarEventprotected java.lang.String getOptionText()
getOptionText in class BaseGetCommodityBarEventprotected java.lang.String getMainText()
getMainText in class BaseGetCommodityBarEventprotected java.lang.String[] getMainTextTokens()
getMainTextTokens in class BaseGetCommodityBarEventprotected java.awt.Color[] getMainTextColors()
getMainTextColors in class BaseGetCommodityBarEventprotected java.lang.String getConfirmText()
getConfirmText in class BaseGetCommodityBarEventprotected java.lang.String getCancelText()
getCancelText in class BaseGetCommodityBarEventprotected java.lang.String getNegotiatedText()
protected java.lang.String getAcceptText()
getAcceptText in class BaseGetCommodityBarEventpublic int getLoanAmount()
public void setLoanAmount(int loanAmount)
public int getRepaymentAmount()
public void setRepaymentAmount(int repaymentAmount)
public int getRepaymentDays()
public void setRepaymentDays(int repaymentDays)
protected boolean showCargoCap()
showCargoCap in class BaseGetCommodityBarEvent