예제 #1
0
 public Ship(ShipNavigationType navType = ShipNavigationType.Position)
 {
     NavigationType = navType;
 }
예제 #2
0
 public ShipCaptain(IEnumerable <string> input, ShipNavigationType navType = ShipNavigationType.Position)
 {
     this.Ship     = new Ship(navType);
     this.Commands = input.Select(x => new ShipCommand(x)).ToList();
 }