Files
basic-computer-games/53_King/csharp/Reign.cs
2022-10-22 15:46:44 +11:00

24 lines
434 B
C#

namespace King;
internal class Reign
{
public const int MaxTerm = 8;
private readonly IReadWrite _io;
private readonly Country _country;
private readonly float _year;
public Reign(IReadWrite io, IRandom random)
: this(io, new Country(random), 0)
{
}
public Reign(IReadWrite io, Country country, float year)
{
_io = io;
_country = country;
_year = year;
}
}