Exemplo n.º 1
0
 public DeffRequestVillage(DeffRequestVillage village)
 {
     IsSelected = village.IsSelected;
     X          = village.X;
     Y          = village.Y;
     WallLevel  = village.WallLevel;
     Loyalty    = village.Loyalty;
     Units      = new DeffRequestUnits(village.Units);
     foreach (var attack in village.Attacks)
     {
         Attacks.Add(new DeffRequestAttack(attack));
     }
 }
Exemplo n.º 2
0
 public DeffRequestUnits(DeffRequestUnits units)
 {
     Spear         = units.Spear;
     Sword         = units.Sword;
     Axe           = units.Axe;
     Arrow         = units.Arrow;
     Spy           = units.Spy;
     LightCavalry  = units.LightCavalry;
     MountedArcher = units.MountedArcher;
     HeavyCavalry  = units.HeavyCavalry;
     Ram           = units.Ram;
     Catapult      = units.Catapult;
     Paladin       = units.Paladin;
     Snob          = units.Snob;
     Militia       = units.Militia;
 }