Esempio n. 1
0
 public LogicedPirateSquad(LogicedPirate[] pirates, SquadLogic logic)
 {
     this.LogicedPirates = pirates;
     this.Logic          = logic;
 }
Esempio n. 2
0
 public LogicedPirateSquad(LogicedPirate[] pirates)
 {
     this.LogicedPirates = pirates;
     this.Logic          = new SquadLogic();
 }
Esempio n. 3
0
 public LogicedPirateSquad(Squad s, SquadLogic logic)
 {
     this.LogicedPirates = s.Select(x => x.LogicPirate(new PirateLogic())).ToArray();
     this.Logic          = logic;
 }