mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-30 14:42:03 -08:00
Add evaluation of migration and agriculture
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user