Interface ITreasury
-
- All Known Implementing Classes:
Treasury
public interface ITreasuryTreasury of the city. The transient values hold the values of the current month.- Author:
- Andi Hotz, (c) Sahits GmbH, 2014 Created on Dec 31, 2014
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javafx.beans.property.IntegerPropertybuildingCostsProperty()javafx.beans.property.LongPropertycashProperty()javafx.beans.property.IntegerPropertycityGuardCostsProperty()javafx.beans.property.DoublePropertycurrentHeadTaxValueProperty()Double property for the current head tax value.javafx.beans.property.DoublePropertycurrentPropertyTaxProperty()javafx.beans.property.IntegerPropertydonationsProperty()intgetBuildingCosts()Costs for the building of city walls and towers up to date.longgetCash()Retrieve the whole amount in the treasury.intgetCityGuardCosts()Monthly costs of the city guard.doublegetCurrentHeadTaxValue()Retrieve the current height of the taxes.doublegetCurrentPropertyTax()Retrieve the current property tax.intgetDonations()All the donated amount.intgetOtherCosts()Costs and fees that the city has to have payed up to this date in the current year.intgetOtherIncome()All other income like donations.intgetOutriggerCosts()Costs for paying the outrigger.longgetPaidSpecialTaxes()Amount of the paid special taxes.longgetPaidTaxes()Amount of the property and head taxes up to date this year.intgetSiegeCosts()Paid ransom to prevent/abort siege.javafx.beans.property.IntegerPropertyotherCostsProperty()javafx.beans.property.IntegerPropertyotherIncomeProperty()javafx.beans.property.IntegerPropertyoutriggerCostsProperty()javafx.beans.property.LongPropertypaidSpecialTaxesProperty()javafx.beans.property.LongPropertypaidTaxesProperty()javafx.beans.property.IntegerPropertysiegeCostsProperty()
-
-
-
Method Detail
-
getCurrentHeadTaxValue
double getCurrentHeadTaxValue()
Retrieve the current height of the taxes.- Returns:
- current head tax
-
getCurrentPropertyTax
double getCurrentPropertyTax()
Retrieve the current property tax.- Returns:
- current proerty tax
-
getPaidTaxes
long getPaidTaxes()
Amount of the property and head taxes up to date this year.- Returns:
- paid taxes for the current year
-
getPaidSpecialTaxes
long getPaidSpecialTaxes()
Amount of the paid special taxes.- Returns:
- paid special taxes for the current year
-
getCityGuardCosts
int getCityGuardCosts()
Monthly costs of the city guard.- Returns:
- monthly costs for the city guards
-
getBuildingCosts
int getBuildingCosts()
Costs for the building of city walls and towers up to date. This value is only positive if there is a building being built.- Returns:
- building costs for the city walls.
-
getOutriggerCosts
int getOutriggerCosts()
Costs for paying the outrigger.- Returns:
- costs for the outrigger
-
getSiegeCosts
int getSiegeCosts()
Paid ransom to prevent/abort siege.- Returns:
- costs to prevent a siege.
-
getOtherCosts
int getOtherCosts()
Costs and fees that the city has to have payed up to this date in the current year. Included here are also stolen amounts.- Returns:
- other costs.
-
getOtherIncome
int getOtherIncome()
All other income like donations.- Returns:
- other income
-
getDonations
int getDonations()
All the donated amount.- Returns:
- donations
-
getCash
long getCash()
Retrieve the whole amount in the treasury.- Returns:
- cash in the treasury.
-
currentHeadTaxValueProperty
javafx.beans.property.DoubleProperty currentHeadTaxValueProperty()
Double property for the current head tax value.- Returns:
- current head tax value
-
currentPropertyTaxProperty
javafx.beans.property.DoubleProperty currentPropertyTaxProperty()
-
paidTaxesProperty
javafx.beans.property.LongProperty paidTaxesProperty()
-
paidSpecialTaxesProperty
javafx.beans.property.LongProperty paidSpecialTaxesProperty()
-
cityGuardCostsProperty
javafx.beans.property.IntegerProperty cityGuardCostsProperty()
-
buildingCostsProperty
javafx.beans.property.IntegerProperty buildingCostsProperty()
-
outriggerCostsProperty
javafx.beans.property.IntegerProperty outriggerCostsProperty()
-
siegeCostsProperty
javafx.beans.property.IntegerProperty siegeCostsProperty()
-
otherCostsProperty
javafx.beans.property.IntegerProperty otherCostsProperty()
-
otherIncomeProperty
javafx.beans.property.IntegerProperty otherIncomeProperty()
-
donationsProperty
javafx.beans.property.IntegerProperty donationsProperty()
-
cashProperty
javafx.beans.property.LongProperty cashProperty()
-
-