Example #1
0
 public Ship()
 {
     this.ShipName      = "";
     this.ShipsNumber   = SHIPSCount;
     this.SailorsNumber = 0;
     base.SHIPSCount++;
     this.captain = new Captain();
 }
Example #2
0
 public Ship(string ShipName, int SailorsNumber, Captain captain)
 {
     this.ShipName      = ShipName;
     this.ShipsNumber   = SHIPSCount;
     this.SailorsNumber = SailorsNumber;
     this.captain       = captain;
     base.SHIPSCount++;
 }
Example #3
0
 public Boat()
 {
     this.BoatName      = "";
     this.BoatNumber    = 0;
     this.SailorsNumber = 0;
     this.captain       = new Captain();
     base.BOATSCount++;
 }
Example #4
0
 public Boat(string BoatName, int SailorsNumber)
 {
     this.BoatName      = BoatName;
     this.BoatNumber    = BOATSCount;
     this.SailorsNumber = SailorsNumber;
     this.captain       = new Captain();
     base.BOATSCount++;
 }
Example #5
0
 public Sailboat(string SailboatName, int SailorsNumber, Captain captain)
 {
     this.SailboatName   = SailboatName;
     this.SailboatNumber = SAILBOATSCount;
     this.SailorsNumber  = SailorsNumber;
     this.captain        = captain;
     base.SAILBOATSCount++;
 }
Example #6
0
 public Corvette(string CorvetteName, int SailorsNumber, Captain captain)
 {
     this.CorvetteName   = CorvetteName;
     this.CorvetteNumber = CORVETTESCount;
     this.SailorsNumber  = SailorsNumber;
     this.captain        = captain;
     base.CORVETTESCount++;
 }
Example #7
0
 public Streamer(Captain captain)
 {
     this.StreamerName   = "";
     this.StreamerNumber = 0;
     this.SailorsNumber  = 0;
     base.STREAMERSCount++;
     this.SeatsNumber = 0;
     this.captain     = captain;
 }
Example #8
0
 public Streamer()
 {
     this.StreamerName   = "";
     this.StreamerNumber = 0;
     this.SailorsNumber  = 0;
     base.STREAMERSCount++;
     this.SeatsNumber = 0;
     this.captain     = new Captain();
 }
Example #9
0
 public Sailboat()
 {
     this.SailboatName   = "";
     this.SailboatNumber = 0;
     this.SailorsNumber  = 0;
     this.displacement   = 0;
     this.captain        = new Captain();
     base.SAILBOATSCount++;
 }
Example #10
0
 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++;
 }
Example #11
0
 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++;
 }