Exemplo n.º 1
0
 private void AddToNormal(ITroopStub source, ITroopStub target)
 {
     target.BeginUpdate();
     foreach (var unit in source.SelectMany(formation => formation))
     {
         target.AddUnit(FormationType.Normal, unit.Key, unit.Value);
     }
     target.EndUpdate();
 }