| Type | Property and Description |
|---|---|
javafx.beans.property.LongProperty |
cash |
| Modifier and Type | Field and Description |
|---|---|
private int |
buildingCosts |
private javafx.beans.property.LongProperty |
cash |
private int |
cityGuardCosts |
private double |
currentHeadTaxValue |
private double |
currentPropertyTax |
private int |
donations |
private int |
otherCosts |
private int |
otherIncome |
private int |
outriggerCosts |
private long |
paidSpecialTaxes |
private long |
paidTaxes |
private int |
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.LongProperty |
cashProperty() |
long |
getCash()
Gets the value of the property cash.
|
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) |
void |
setCurrentPropertyTax(double currentPropertyTax) |
void |
subtractBuildingCosts(int buildingCosts) |
void |
subtractCityGuardCosts(int cityGuardCosts) |
void |
subtractOtherCosts(int otherCosts) |
void |
subtractOutriggerCosts(int outriggerCosts) |
void |
subtractSiegeCosts(int siegeCosts) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBuildingCosts, getCityGuardCosts, getCurrentHeadTaxValue, getCurrentPropertyTax, getDonations, getOtherCosts, getOtherIncome, getOutriggerCosts, getPaidSpecialTaxes, getPaidTaxes, getSiegeCostspublic javafx.beans.property.LongProperty cashProperty
getCash(),
setCash(long)private double currentHeadTaxValue
private double currentPropertyTax
private long paidTaxes
private long paidSpecialTaxes
private int cityGuardCosts
private int buildingCosts
private int outriggerCosts
private int siegeCosts
private int otherCosts
private int otherIncome
private int donations
private javafx.beans.property.LongProperty cash
public void reset()
public void setCurrentHeadTaxValue(double currentHeadTaxValue)
public void setCurrentPropertyTax(double currentPropertyTax)
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()
getCash(),
setCash(long)public void setCash(long cash)
Copyright © 2011-2015 Sahits GmbH. All Rights Reserved.