CityBudget: move in the four escrow-style account balances

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@601 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
jason@long.name 2013-03-23 15:45:52 +00:00
parent 04534d6273
commit 0b8efea513
2 changed files with 35 additions and 14 deletions

View file

@ -11,8 +11,33 @@ package micropolisj.engine;
public class CityBudget
{
private final Micropolis city;
/**
* The amount of cash on hand.
*/
public int totalFunds;
/**
* Amount of taxes collected so far in the current financial
* period (in 1/TAXFREQ's).
*/
int taxFund;
/**
* Amount of prepaid road maintenance (in 1/TAXFREQ's).
*/
int roadFundEscrow;
/**
* Amount of prepaid fire station maintenance (in 1/TAXFREQ's).
*/
int fireFundEscrow;
/**
* Amount of prepaid police station maintenance (in 1/TAXFREQ's).
*/
int policeFundEscrow;
CityBudget(Micropolis city)
{
this.city = city;