public Ship() { this.ShipName = ""; this.ShipsNumber = SHIPSCount; this.SailorsNumber = 0; base.SHIPSCount++; this.captain = new Captain(); }
public Ship(string ShipName, int SailorsNumber, Captain captain) { this.ShipName = ShipName; this.ShipsNumber = SHIPSCount; this.SailorsNumber = SailorsNumber; this.captain = captain; base.SHIPSCount++; }
public Boat() { this.BoatName = ""; this.BoatNumber = 0; this.SailorsNumber = 0; this.captain = new Captain(); base.BOATSCount++; }
public Boat(string BoatName, int SailorsNumber) { this.BoatName = BoatName; this.BoatNumber = BOATSCount; this.SailorsNumber = SailorsNumber; this.captain = new Captain(); base.BOATSCount++; }
public Sailboat(string SailboatName, int SailorsNumber, Captain captain) { this.SailboatName = SailboatName; this.SailboatNumber = SAILBOATSCount; this.SailorsNumber = SailorsNumber; this.captain = captain; base.SAILBOATSCount++; }
public Corvette(string CorvetteName, int SailorsNumber, Captain captain) { this.CorvetteName = CorvetteName; this.CorvetteNumber = CORVETTESCount; this.SailorsNumber = SailorsNumber; this.captain = captain; base.CORVETTESCount++; }
public Streamer(Captain captain) { this.StreamerName = ""; this.StreamerNumber = 0; this.SailorsNumber = 0; base.STREAMERSCount++; this.SeatsNumber = 0; this.captain = captain; }
public Streamer() { this.StreamerName = ""; this.StreamerNumber = 0; this.SailorsNumber = 0; base.STREAMERSCount++; this.SeatsNumber = 0; this.captain = new Captain(); }
public Sailboat() { this.SailboatName = ""; this.SailboatNumber = 0; this.SailorsNumber = 0; this.displacement = 0; this.captain = new Captain(); base.SAILBOATSCount++; }
public Streamer(string StreamerName, int SailorsNumber, int SeatsNumber, Captain captain) { this.StreamerName = StreamerName; this.StreamerNumber = STREAMERSCount; this.SailorsNumber = SailorsNumber; this.SeatsNumber = SeatsNumber; totalSeatsNumber += SeatsNumber; this.captain = captain; base.STREAMERSCount++; }
public Sailboat(string SailboatName, int SailorsNumber, int displacement) { this.SailboatName = SailboatName; this.SailboatNumber = SAILBOATSCount; this.SailorsNumber = SailorsNumber; this.displacement = displacement; totalDisplacement += this.displacement; this.captain = new Captain(); base.SAILBOATSCount++; }