コード例 #1
0
 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];
 }
コード例 #2
0
 public PowerObject()
 {
     Elec = new ElectricalData();
 }