public ConnectionDataReference(ConnectionDataReference data) { linkReference = data.linkReference; name = data.name; description = data.description; throughput = new DynamicDouble(data.throughput); isTwoWay = data.isTwoWay; }
public ConnectionDataReference(string linked, string name, string description, string throughput, bool isTwoWay) { linkReference = linked; this.name = name; this.description = description; this.throughput = new DynamicDouble(throughput); this.isTwoWay = isTwoWay; }
public PhysicalData(PhysicalData data) : base(data) { volume = new DynamicDouble(data.volume); materials = new MaterialReference[data.materials.Length]; for (int i = 0; i < materials.Length; i++) { materials[i] = new MaterialReference(data.materials[i]); } }
public ContainerData(ContainerData data) : base(data) { innerVolume = new DynamicDouble(data.innerVolume); connections = new ConnectionDataReference[data.connections.Length]; for (int i = 0; i < connections.Length; i++) { connections[i] = new ConnectionDataReference(data.connections[i]); } spawnLists = new DataReference[data.spawnLists.Length]; for (int i = 0; i < spawnLists.Length; i++) { spawnLists[i] = new DataReference(data.spawnLists[i].value); } }
public DynamicDouble(DynamicDouble value) : base(value) { }