Interface ITreasury
-
- All Known Implementing Classes:
Treasury
public interface ITreasury
Treasury 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.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()
javafx.beans.property.IntegerProperty
siegeCostsProperty()
-
-
-
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()
-
-