コード例 #1
0
ファイル: Owner.cs プロジェクト: JoakimHoegaas/ShipLists
 public void AddToShipCollection(Ship ship)
 {
     //if(ship.Owner.Name != Name) etc
     ShipCollection.Add(ship);
 }
コード例 #2
0
ファイル: Owner.cs プロジェクト: JoakimHoegaas/ShipLists
 public Owner(string name, Ship ship)
 {
     Name = name;
     Ship = ship;
 }