This repository has been archived on 2025-02-21. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
citylimitsj/src/micropolisj/engine/CityBudget.java
2013-03-23 15:45:52 +00:00

45 lines
948 B
Java

// This file is part of MicropolisJ.
// Copyright (C) 2013 Jason Long
// Portions Copyright (C) 1989-2007 Electronic Arts Inc.
//
// MicropolisJ is free software; you can redistribute it and/or modify
// it under the terms of the GNU GPLv3, with additional terms.
// See the README file, included in this distribution, for details.
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;
}
}