| Type | Property and Description |
|---|---|
javafx.beans.property.IntegerProperty |
buildingCosts |
javafx.beans.property.LongProperty |
cash |
javafx.beans.property.IntegerProperty |
cityGuardCosts |
javafx.beans.property.DoubleProperty |
currentHeadTaxValue
Double property for the current head tax value.
|
javafx.beans.property.DoubleProperty |
currentPropertyTax |
javafx.beans.property.IntegerProperty |
donations |
javafx.beans.property.IntegerProperty |
otherCosts |
javafx.beans.property.IntegerProperty |
otherIncome |
javafx.beans.property.IntegerProperty |
outriggerCosts |
javafx.beans.property.LongProperty |
paidSpecialTaxes |
javafx.beans.property.LongProperty |
paidTaxes |
javafx.beans.property.IntegerProperty |
siegeCosts |
| Modifier and Type | Field and Description |
|---|---|
private int |
baseHeadTax |
private int |
basePropertyTax |
private javafx.beans.property.IntegerProperty |
buildingCosts |
private javafx.beans.property.LongProperty |
cash |
private javafx.beans.property.IntegerProperty |
cityGuardCosts |
private javafx.beans.property.DoubleProperty |
currentHeadTaxValue |
private javafx.beans.property.DoubleProperty |
currentPropertyTax |
private javafx.beans.property.IntegerProperty |
donations |
private javafx.beans.property.IntegerProperty |
otherCosts |
private javafx.beans.property.IntegerProperty |
otherIncome |
private javafx.beans.property.IntegerProperty |
outriggerCosts |
private javafx.beans.property.LongProperty |
paidSpecialTaxes |
private javafx.beans.property.LongProperty |
paidTaxes |
private javafx.beans.property.IntegerProperty |
siegeCosts |
| Constructor and Description |
|---|
Treasury() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDonations(int donations) |
void |
addOtherIncome(int otherIncome) |
void |
addPaidSpecialTaxes(long paidSpecialTaxes) |
void |
addPaidTaxes(long paidTaxes) |
javafx.beans.property.IntegerProperty |
buildingCostsProperty() |
javafx.beans.property.LongProperty |
cashProperty() |
javafx.beans.property.IntegerProperty |
cityGuardCostsProperty() |
javafx.beans.property.DoubleProperty |
currentHeadTaxValueProperty()
Double property for the current head tax value.
|
javafx.beans.property.DoubleProperty |
currentPropertyTaxProperty() |
javafx.beans.property.IntegerProperty |
donationsProperty() |
int |
getBuildingCosts()
Gets the value of the property buildingCosts.
|
long |
getCash()
Gets the value of the property cash.
|
int |
getCityGuardCosts()
Gets the value of the property cityGuardCosts.
|
double |
getCurrentHeadTaxValue()
Gets the value of the property currentHeadTaxValue.
|
double |
getCurrentPropertyTax()
Gets the value of the property currentPropertyTax.
|
int |
getDonations()
Gets the value of the property donations.
|
int |
getOtherCosts()
Gets the value of the property otherCosts.
|
int |
getOtherIncome()
Gets the value of the property otherIncome.
|
int |
getOutriggerCosts()
Gets the value of the property outriggerCosts.
|
long |
getPaidSpecialTaxes()
Gets the value of the property paidSpecialTaxes.
|
long |
getPaidTaxes()
Gets the value of the property paidTaxes.
|
int |
getSiegeCosts()
Gets the value of the property siegeCosts.
|
private void |
init() |
javafx.beans.property.IntegerProperty |
otherCostsProperty() |
javafx.beans.property.IntegerProperty |
otherIncomeProperty() |
javafx.beans.property.IntegerProperty |
outriggerCostsProperty() |
javafx.beans.property.LongProperty |
paidSpecialTaxesProperty() |
javafx.beans.property.LongProperty |
paidTaxesProperty() |
void |
reset()
Reset all the moneytary values save cash back to 0.
|
void |
setCash(long cash)
Sets the value of the property cash.
|
void |
setCurrentHeadTaxValue(double currentHeadTaxValue)
Sets the value of the property currentHeadTaxValue.
|
javafx.beans.property.IntegerProperty |
siegeCostsProperty() |
void |
subtractBuildingCosts(int buildingCosts) |
void |
subtractCityGuardCosts(int cityGuardCosts) |
void |
subtractOtherCosts(int otherCosts) |
void |
subtractOutriggerCosts(int outriggerCosts) |
void |
subtractSiegeCosts(int siegeCosts) |
public javafx.beans.property.LongProperty cashProperty
cashProperty in interface ITreasurygetCash(),
setCash(long)public javafx.beans.property.DoubleProperty currentHeadTaxValueProperty
currentHeadTaxValueProperty in interface ITreasurygetCurrentHeadTaxValue(),
setCurrentHeadTaxValue(double)public javafx.beans.property.DoubleProperty currentPropertyTaxProperty
currentPropertyTaxProperty in interface ITreasurygetCurrentPropertyTax()public javafx.beans.property.LongProperty paidTaxesProperty
paidTaxesProperty in interface ITreasurygetPaidTaxes()public javafx.beans.property.LongProperty paidSpecialTaxesProperty
paidSpecialTaxesProperty in interface ITreasurygetPaidSpecialTaxes()public javafx.beans.property.IntegerProperty cityGuardCostsProperty
cityGuardCostsProperty in interface ITreasurygetCityGuardCosts()public javafx.beans.property.IntegerProperty buildingCostsProperty
buildingCostsProperty in interface ITreasurygetBuildingCosts()public javafx.beans.property.IntegerProperty outriggerCostsProperty
outriggerCostsProperty in interface ITreasurygetOutriggerCosts()public javafx.beans.property.IntegerProperty siegeCostsProperty
siegeCostsProperty in interface ITreasurygetSiegeCosts()public javafx.beans.property.IntegerProperty otherCostsProperty
otherCostsProperty in interface ITreasurygetOtherCosts()public javafx.beans.property.IntegerProperty otherIncomeProperty
otherIncomeProperty in interface ITreasurygetOtherIncome()public javafx.beans.property.IntegerProperty donationsProperty
donationsProperty in interface ITreasurygetDonations()@Value(value="${base.head.tax}")
private int baseHeadTax
@Value(value="${base.property.tax}")
private int basePropertyTax
private javafx.beans.property.DoubleProperty currentHeadTaxValue
private javafx.beans.property.DoubleProperty currentPropertyTax
private javafx.beans.property.LongProperty paidTaxes
private javafx.beans.property.LongProperty paidSpecialTaxes
private javafx.beans.property.IntegerProperty cityGuardCosts
private javafx.beans.property.IntegerProperty buildingCosts
private javafx.beans.property.IntegerProperty outriggerCosts
private javafx.beans.property.IntegerProperty siegeCosts
private javafx.beans.property.IntegerProperty otherCosts
private javafx.beans.property.IntegerProperty otherIncome
private javafx.beans.property.IntegerProperty donations
private javafx.beans.property.LongProperty cash
@PostConstruct private void init()
public void reset()
public void setCurrentHeadTaxValue(double currentHeadTaxValue)
public void addPaidTaxes(long paidTaxes)
public void addPaidSpecialTaxes(long paidSpecialTaxes)
public void subtractCityGuardCosts(int cityGuardCosts)
public void subtractBuildingCosts(int buildingCosts)
public void subtractOutriggerCosts(int outriggerCosts)
public void subtractSiegeCosts(int siegeCosts)
public void subtractOtherCosts(int otherCosts)
public void addOtherIncome(int otherIncome)
public void addDonations(int donations)
public long getCash()
public javafx.beans.property.LongProperty cashProperty()
cashProperty in interface ITreasurygetCash(),
setCash(long)public void setCash(long cash)
public javafx.beans.property.DoubleProperty currentHeadTaxValueProperty()
ITreasurycurrentHeadTaxValueProperty in interface ITreasurygetCurrentHeadTaxValue(),
setCurrentHeadTaxValue(double)public javafx.beans.property.DoubleProperty currentPropertyTaxProperty()
currentPropertyTaxProperty in interface ITreasurygetCurrentPropertyTax()public javafx.beans.property.LongProperty paidTaxesProperty()
paidTaxesProperty in interface ITreasurygetPaidTaxes()public javafx.beans.property.LongProperty paidSpecialTaxesProperty()
paidSpecialTaxesProperty in interface ITreasurygetPaidSpecialTaxes()public javafx.beans.property.IntegerProperty cityGuardCostsProperty()
cityGuardCostsProperty in interface ITreasurygetCityGuardCosts()public javafx.beans.property.IntegerProperty buildingCostsProperty()
buildingCostsProperty in interface ITreasurygetBuildingCosts()public javafx.beans.property.IntegerProperty outriggerCostsProperty()
outriggerCostsProperty in interface ITreasurygetOutriggerCosts()public javafx.beans.property.IntegerProperty siegeCostsProperty()
siegeCostsProperty in interface ITreasurygetSiegeCosts()public javafx.beans.property.IntegerProperty otherCostsProperty()
otherCostsProperty in interface ITreasurygetOtherCosts()public javafx.beans.property.IntegerProperty otherIncomeProperty()
otherIncomeProperty in interface ITreasurygetOtherIncome()public javafx.beans.property.IntegerProperty donationsProperty()
donationsProperty in interface ITreasurygetDonations()public double getCurrentHeadTaxValue()
getCurrentHeadTaxValue in interface ITreasurypublic double getCurrentPropertyTax()
getCurrentPropertyTax in interface ITreasurypublic long getPaidTaxes()
getPaidTaxes in interface ITreasurypublic long getPaidSpecialTaxes()
getPaidSpecialTaxes in interface ITreasurypublic int getCityGuardCosts()
getCityGuardCosts in interface ITreasurypublic int getBuildingCosts()
getBuildingCosts in interface ITreasurypublic int getOutriggerCosts()
getOutriggerCosts in interface ITreasurypublic int getSiegeCosts()
getSiegeCosts in interface ITreasurypublic int getOtherCosts()
getOtherCosts in interface ITreasurypublic int getOtherIncome()
getOtherIncome in interface ITreasurypublic int getDonations()
getDonations in interface ITreasuryCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.