| Constructor | Description |
|---|---|
Treasury() |
| Modifier and Type | Method | 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() |
Costs for the building of city walls and towers up to date.
|
long |
getCash() |
Retrieve the whole amount in the treasury.
|
int |
getCityGuardCosts() |
Monthly costs of the city guard.
|
double |
getCurrentHeadTaxValue() |
Retrieve the current height of the taxes.
|
double |
getCurrentPropertyTax() |
Retrieve the current property tax.
|
int |
getDonations() |
All the donated amount.
|
int |
getOtherCosts() |
Costs and fees that the city has to have payed up to this date in the current year.
|
int |
getOtherIncome() |
All other income like donations.
|
int |
getOutriggerCosts() |
Costs for paying the outrigger.
|
long |
getPaidSpecialTaxes() |
Amount of the paid special taxes.
|
long |
getPaidTaxes() |
Amount of the property and head taxes up to date this year.
|
int |
getSiegeCosts() |
Paid ransom to prevent/abort siege.
|
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) |
|
void |
setCurrentHeadTaxValue(double 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 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()
ITreasurypublic javafx.beans.property.LongProperty cashProperty()
cashProperty in interface ITreasurypublic void setCash(long cash)
public javafx.beans.property.DoubleProperty currentHeadTaxValueProperty()
ITreasurycurrentHeadTaxValueProperty in interface ITreasurypublic javafx.beans.property.DoubleProperty currentPropertyTaxProperty()
currentPropertyTaxProperty in interface ITreasurypublic javafx.beans.property.LongProperty paidTaxesProperty()
paidTaxesProperty in interface ITreasurypublic javafx.beans.property.LongProperty paidSpecialTaxesProperty()
paidSpecialTaxesProperty in interface ITreasurypublic javafx.beans.property.IntegerProperty cityGuardCostsProperty()
cityGuardCostsProperty in interface ITreasurypublic javafx.beans.property.IntegerProperty buildingCostsProperty()
buildingCostsProperty in interface ITreasurypublic javafx.beans.property.IntegerProperty outriggerCostsProperty()
outriggerCostsProperty in interface ITreasurypublic javafx.beans.property.IntegerProperty siegeCostsProperty()
siegeCostsProperty in interface ITreasurypublic javafx.beans.property.IntegerProperty otherCostsProperty()
otherCostsProperty in interface ITreasurypublic javafx.beans.property.IntegerProperty otherIncomeProperty()
otherIncomeProperty in interface ITreasurypublic javafx.beans.property.IntegerProperty donationsProperty()
donationsProperty in interface ITreasurypublic double getCurrentHeadTaxValue()
ITreasurygetCurrentHeadTaxValue in interface ITreasurypublic double getCurrentPropertyTax()
ITreasurygetCurrentPropertyTax in interface ITreasurypublic long getPaidTaxes()
ITreasurygetPaidTaxes in interface ITreasurypublic long getPaidSpecialTaxes()
ITreasurygetPaidSpecialTaxes in interface ITreasurypublic int getCityGuardCosts()
ITreasurygetCityGuardCosts in interface ITreasurypublic int getBuildingCosts()
ITreasurygetBuildingCosts in interface ITreasurypublic int getOutriggerCosts()
ITreasurygetOutriggerCosts in interface ITreasurypublic int getSiegeCosts()
ITreasurygetSiegeCosts in interface ITreasurypublic int getOtherCosts()
ITreasurygetOtherCosts in interface ITreasurypublic int getOtherIncome()
ITreasurygetOtherIncome in interface ITreasurypublic int getDonations()
ITreasurygetDonations in interface ITreasuryCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.