namespace Hammurabi
{
///
/// Stores the state of the game.
///
public record GameState
{
///
/// Gets the current game year.
///
public int Year { get; init; }
///
/// Gets the city's population.
///
public int Population { get; init; }
///
/// Gets the population increase this year.
///
public int PopulationIncrease { get; init; }
///
/// Gets the number of people who starved.
///
public int Starvation { get; init; }
///
/// Gets the city's size in acres.
///
public int Acres { get; init; }
///
/// Gets the price for an acre of land (in bushels).
///
public int LandPrice { get; init; }
///
/// Gets the number of bushels of grain in the city stores.
///
public int Stores { get; init; }
///
/// Gets the amount of food distributed to the people.
///
public int FoodDistributed { get; init; }
///
/// Gets the number of acres that were planted.
///
public int AcresPlanted { get; init; }
///
/// Gets the number of bushels produced per acre.
///
public int Productivity { get; init; }
///
/// Gets the amount of food lost to rats.
///
public int Spoilage { get; init; }
///
/// Gets a flag indicating whether the current year is a plague year.
///
public bool IsPlagueYear { get; init; }
///
/// Gets a flag indicating whether the player has been impeached.
///
public bool IsPlayerImpeached { get; init; }
}
}