MCPcopy Create free account
hub / github.com/SimHacker/micropolis / CityBudget

Class CityBudget

micropolis-java/src/micropolisj/engine/CityBudget.java:11–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9package micropolisj.engine;
10
11public class CityBudget
12{
13 private final Micropolis city;
14
15 /**
16 * The amount of cash on hand.
17 */
18 public int totalFunds;
19
20 /**
21 * Amount of taxes collected so far in the current financial
22 * period (in 1/TAXFREQ's).
23 */
24 int taxFund;
25
26 /**
27 * Amount of prepaid road maintenance (in 1/TAXFREQ's).
28 */
29 int roadFundEscrow;
30
31 /**
32 * Amount of prepaid fire station maintenance (in 1/TAXFREQ's).
33 */
34 int fireFundEscrow;
35
36 /**
37 * Amount of prepaid police station maintenance (in 1/TAXFREQ's).
38 */
39 int policeFundEscrow;
40
41 CityBudget(Micropolis city)
42 {
43 this.city = city;
44 }
45}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected