IBalanceSheetpublic class BalanceSheet extends java.lang.Object implements IBalanceSheet
| Constructor | Description |
|---|---|
BalanceSheet(ICity city,
IPlayer player) |
Initialize a blank sheet
|
BalanceSheet(BalanceSheet prevWeek) |
Initialize a forcast balance sheet by using the balance sheet of the previous week
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
deductPropertyTaxes(int amount) |
Update the property taxes for the whole week.
|
void |
updateAutomatedTradingCosts(long costs) |
Update the costs incurred by automatic trading for the day
|
void |
updateOtherExpensesOneTime(int costs) |
Update the other costs with a one time expense.
|
void |
updateOtherExpensesRegular(int costsPerDay) |
Update any regular other costs.
|
void |
updateRentalIncome(int incomePerDay) |
Update the income for rented houses.
|
void |
updateSalaries(int saleriesPerDay) |
Update the saleries per day.
|
void |
updateStewardCosts(int costPerDay) |
Update the costs for the steward.
|
getOfficeTrading, getOtherCosts, getPropertyTaxes, getRentalIncome, getStewardCost, getWageCostspublic BalanceSheet(BalanceSheet prevWeek)
prevWeek - BalanceSheet of the previous week.public void updateStewardCosts(int costPerDay)
updateStewardCosts in interface IBalanceSheetcostPerDay - daily salary costs of the stewards in all the trading offices.public void updateRentalIncome(int incomePerDay)
updateRentalIncome in interface IBalanceSheetincomePerDay - amount payed per daypublic void deductPropertyTaxes(int amount)
deductPropertyTaxes in interface IBalanceSheetamount - property taxes for the weekpublic void updateSalaries(int saleriesPerDay)
updateSalaries in interface IBalanceSheetsaleriesPerDay - salery of workers per daypublic void updateAutomatedTradingCosts(long costs)
updateAutomatedTradingCosts in interface IBalanceSheetcosts - for automatic tradingpublic void updateOtherExpensesRegular(int costsPerDay)
updateOtherExpensesRegular in interface IBalanceSheetcostsPerDay - regular expences per daypublic void updateOtherExpensesOneTime(int costs)
updateOtherExpensesOneTime in interface IBalanceSheetcosts - one time expensesCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.