public class BalanceSheet extends Object implements IBalanceSheet
| Modifier and Type | Field and Description |
|---|---|
private ICity |
city |
private Date |
gameDate |
private int |
officeTrading |
private int[] |
officeTradingDays |
private int |
otherCosts |
private int[] |
otherCostsDays |
private IPlayer |
player |
private int |
propertyTaxes |
private int |
rentalIncome |
private int[] |
rentalIncomeDays |
private int |
stewardCost |
private int[] |
stewardCostsDays |
private PeriodicalTimeUpdaterV2 |
updater |
private int |
wageCosts |
private int[] |
wageCostsDays |
| Constructor and Description |
|---|
BalanceSheet(BalanceSheet prevWeek)
Initialize a forcast balance sheet by using the balance sheet of the previous week
|
BalanceSheet(ICity city,
IPlayer player)
Initialize a blank sheet
|
| Modifier and Type | Method and Description |
|---|---|
void |
deductPropertyTaxes(int amount) |
void |
handleDailyUpdate() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOfficeTrading, getOtherCosts, getPropertyTaxes, getRentalIncome, getStewardCost, getWageCostsprivate final ICity city
private final IPlayer player
@Autowired private Date gameDate
private PeriodicalTimeUpdaterV2 updater
private int rentalIncome
private int[] rentalIncomeDays
private int wageCosts
private int[] wageCostsDays
private int propertyTaxes
private int officeTrading
private int[] officeTradingDays
private int stewardCost
private int[] stewardCostsDays
private int otherCosts
private int[] otherCostsDays
public BalanceSheet(BalanceSheet prevWeek)
prevWeek - Copyright © 2011-2015 Sahits GmbH. All Rights Reserved.