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, unitPrice
dialog, 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, showTotalAndOptions
advance, endWithContinue, getBarEventId, getShownAt, isAlwaysShow, shouldRemoveEvent, wasShownAtMarket
public static int REPAYMENT_DAYS
protected int loanAmount
protected int repaymentAmount
protected int repaymentDays
public boolean shouldShowAtMarket(MarketAPI market)
shouldShowAtMarket
in interface PortsideBarEvent
shouldShowAtMarket
in class BaseBarEvent
protected void regen(MarketAPI market)
regen
in class BaseGetCommodityBarEvent
protected void doStandardConfirmActions()
doStandardConfirmActions
in class BaseGetCommodityBarEvent
protected int getNegotiatedAmount()
protected void addStoryOption()
addStoryOption
in class BaseGetCommodityBarEvent
public void optionSelected(java.lang.String optionText, java.lang.Object optionData)
optionSelected
in interface PortsideBarEvent
optionSelected
in class BaseGetCommodityBarEvent
protected void createIntel()
protected java.lang.String getPersonFaction()
getPersonFaction
in class BaseGetCommodityBarEvent
protected java.lang.String getPersonRank()
getPersonRank
in class BaseGetCommodityBarEvent
protected void adjustPerson(PersonAPI person)
adjustPerson
in class BaseGetCommodityBarEvent
protected java.lang.String getPersonPost()
getPersonPost
in class BaseGetCommodityBarEvent
protected float getPriceMult()
getPriceMult
in class BaseGetCommodityBarEvent
protected java.lang.String getPrompt()
getPrompt
in class BaseGetCommodityBarEvent
protected java.lang.String getOptionText()
getOptionText
in class BaseGetCommodityBarEvent
protected java.lang.String getMainText()
getMainText
in class BaseGetCommodityBarEvent
protected java.lang.String[] getMainTextTokens()
getMainTextTokens
in class BaseGetCommodityBarEvent
protected java.awt.Color[] getMainTextColors()
getMainTextColors
in class BaseGetCommodityBarEvent
protected java.lang.String getConfirmText()
getConfirmText
in class BaseGetCommodityBarEvent
protected java.lang.String getCancelText()
getCancelText
in class BaseGetCommodityBarEvent
protected java.lang.String getNegotiatedText()
protected java.lang.String getAcceptText()
getAcceptText
in class BaseGetCommodityBarEvent
public 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
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.