Add evaluation of migration and agriculture

This commit is contained in:
Andrew Cooper
2023-01-19 07:36:00 +11:00
parent 9d8a4fbc93
commit 051f3eb5d5
11 changed files with 95 additions and 24 deletions

View File

@@ -24,7 +24,7 @@ internal class Reign
public bool PlayYear()
{
var year = new Year(_country, _random);
var year = new Year(_country, _random, _io);
_io.Write(year.Status);
@@ -32,7 +32,7 @@ internal class Reign
{
_io.WriteLine();
_io.WriteLine();
year.EvaluateResults(_io, _random);
year.EvaluateResults();
_yearNumber++;
return true;
}