Example #1
0
 public GasGiant(string name, float x, float y, float z, float weight, string adjective, int satellites, float rotationPeriod, bool spots, bool rings) : base(name, x, y, z, weight, adjective, satellites, rotationPeriod)
 {
     this.Kind  = Type.GasGiant;
     this.spots = spots;
     this.rings = rings;
     AstronomicalBody.AddAstBody();
 }
Example #2
0
 public GasGiant(string name, float location, float weight, string adjective, int satellites, float rotationPeriod, bool spots, bool rings) : base(name, location, weight, adjective, satellites, rotationPeriod)
 {
     this.Kind  = "GasGiant";
     this.spots = spots;
     this.rings = rings;
     AstronomicalBody.AddAstBody();
 }
Example #3
0
 public Planet(string name, float location, float weight, string adjective, int satellites, float rotationPeriod) : base(name, location, weight)
 {
     this.Kind           = "Planet";
     this.adjective      = adjective;
     this.satellites     = satellites;
     this.rotationPeriod = rotationPeriod;
     AstronomicalBody.AddAstBody();
 }
Example #4
0
 public Star(string name, float x, float y, float z, float weight, string type, string composition, float temperature) : base(name, x, y, z, weight)
 {
     this.Kind        = Lab1_OOP.Type.Star;
     this.type        = type;
     this.composition = composition;
     this.temperature = temperature;
     AstronomicalBody.AddAstBody();
 }
Example #5
0
 public Planet(string name, float x, float y, float z, float weight, string adjective, int satellites, float rotationPeriod) : base(name, x, y, z, weight)
 {
     this.Kind           = Type.Planet;
     this.adjective      = adjective;
     this.satellites     = satellites;
     this.rotationPeriod = rotationPeriod;
     AstronomicalBody.AddAstBody();
 }
Example #6
0
 public Star(string name, float location, float weight, string type, string composition, float temperature) : base(name, location, weight)
 {
     this.Kind        = "Star";
     this.type        = type;
     this.composition = composition;
     this.temperature = temperature;
     AstronomicalBody.AddAstBody();
 }
Example #7
0
 public Planet()
 {
     this.Kind = "Planet";
     AstronomicalBody.AddAstBody();
 }
Example #8
0
 public Star()
 {
     this.Kind = Lab1_OOP.Type.Star;
     AstronomicalBody.AddAstBody();
 }
Example #9
0
 public RedGiant(string name, float x, float y, float z, float weight, string composition, float temperature, string ageCategory, bool instability) : base(name, x, y, z, weight, "RedGiant", composition, temperature)
 {
     this.ageCategory = ageCategory;
     this.instability = instability;
     AstronomicalBody.AddAstBody();
 }
Example #10
0
 public RedGiant()
 {
     this.Kind = Lab1_OOP.Type.RedGiant; AstronomicalBody.AddAstBody();
 }
Example #11
0
 public RedGiant()
 {
     this.Kind = "RedGiant"; AstronomicalBody.AddAstBody();
 }
Example #12
0
 public Star()
 {
     this.Kind = "Star";
     AstronomicalBody.AddAstBody();
 }
Example #13
0
 private GasGiant()
 {
     this.Kind = "GasGiant"; AstronomicalBody.AddAstBody();
 }
Example #14
0
 private GasGiant()
 {
     this.Kind = Type.GasGiant; AstronomicalBody.AddAstBody();
 }
Example #15
0
 public Planet()
 {
     this.Kind = Type.Planet;
     AstronomicalBody.AddAstBody();
 }