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(); }
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(); }
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(); }
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(); }
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(); }
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(); }
public Planet() { this.Kind = "Planet"; AstronomicalBody.AddAstBody(); }
public Star() { this.Kind = Lab1_OOP.Type.Star; AstronomicalBody.AddAstBody(); }
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(); }
public RedGiant() { this.Kind = Lab1_OOP.Type.RedGiant; AstronomicalBody.AddAstBody(); }
public RedGiant() { this.Kind = "RedGiant"; AstronomicalBody.AddAstBody(); }
public Star() { this.Kind = "Star"; AstronomicalBody.AddAstBody(); }
private GasGiant() { this.Kind = "GasGiant"; AstronomicalBody.AddAstBody(); }
private GasGiant() { this.Kind = Type.GasGiant; AstronomicalBody.AddAstBody(); }
public Planet() { this.Kind = Type.Planet; AstronomicalBody.AddAstBody(); }