Example #1
0
 public Game(int paces, string armyName, string enemyName)
 {
     _paces          = paces;
     _army           = new HomeArmy(paces * 10, _paces * 3);
     _commander      = new Commander(armyName, false);
     _enemy          = new EnemyArmy(paces * 10, _paces * 3);
     _enemyCommander = new Commander(enemyName, true);
 }
Example #2
0
 public ForwardCommand(HomeArmy source)
 {
     _source = source;
 }