public Thing(string name, int rails, ThingType thingtype, float length) { this.Name = name; this.ThingType = thingtype; this.RailCount = rails; this.Length = length; this.Vehicles = new List <int>(); this.ElecData = new ElectricalData(); this.ThingsAtWings = new string[16]; }
public PowerObject() { Elec = new ElectricalData(); }