Exemplo n.º 1
0
        public BoiloffData getResourceBoiloffValue(string name)
        {
            BoiloffData val = null;

            if (!boiloffResourceValues.TryGetValue(name, out val))
            {
                return(null);
            }
            return(val);
        }
Exemplo n.º 2
0
 public BoiloffResourceData(PartResource resource, BoiloffData data)
 {
     this.resource = resource;
     this.data = data;
     this.unitVolume = FuelTypes.INSTANCE.getResourceVolume(resource.resourceName);
 }
Exemplo n.º 3
0
 public BoiloffResourceData(PartResource resource, BoiloffData data)
 {
     this.resource   = resource;
     this.data       = data;
     this.unitVolume = FuelTypes.INSTANCE.getResourceVolume(resource.resourceName);
 }