| 9 | package micropolisj.engine; |
| 10 | |
| 11 | public 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected