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(); }
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(); }