Beispiel #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();
 }
Beispiel #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();
 }
Beispiel #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();
 }
Beispiel #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();
 }
Beispiel #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();
 }
Beispiel #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();
 }
Beispiel #7
0
 public Planet()
 {
     this.Kind = "Planet";
     AstronomicalBody.AddAstBody();
 }
Beispiel #8
0
 public Star()
 {
     this.Kind = Lab1_OOP.Type.Star;
     AstronomicalBody.AddAstBody();
 }
Beispiel #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();
 }
Beispiel #10
0
 public RedGiant()
 {
     this.Kind = Lab1_OOP.Type.RedGiant; AstronomicalBody.AddAstBody();
 }
Beispiel #11
0
 public RedGiant()
 {
     this.Kind = "RedGiant"; AstronomicalBody.AddAstBody();
 }
Beispiel #12
0
 public Star()
 {
     this.Kind = "Star";
     AstronomicalBody.AddAstBody();
 }
Beispiel #13
0
 private GasGiant()
 {
     this.Kind = "GasGiant"; AstronomicalBody.AddAstBody();
 }
Beispiel #14
0
 private GasGiant()
 {
     this.Kind = Type.GasGiant; AstronomicalBody.AddAstBody();
 }
Beispiel #15
0
 public Planet()
 {
     this.Kind = Type.Planet;
     AstronomicalBody.AddAstBody();
 }