public FossilFuelCache(FossilFuelCatalog catalog) : base() { this.fossilFuelType = FossilFuelType.Generic; this.catalog = catalog; this.name = GetUniqueName(); }
public static FossilFuelCatalog GetInstance() { if (self == null) { self = new FossilFuelCatalog(); } return(self); }
public FossilFuelCache(FossilFuel fossilFuel, FossilFuelCatalog catalog) : base() { this.fossilFuel = fossilFuel; this.name = fossilFuel.Name; this.fossilFuelType = fossilFuel.FossilFuelType; this.fossilFuel = fossilFuel; this.catalog = catalog; }
public FossilFuelCache(FossilFuel fossilFuel, FossilFuelCatalog catalog) : base() { this.fossilFuel = fossilFuel; this.name = fossilFuel.Name; this.fossilFuelType = fossilFuel.FossilFuelType; this.fossilFuel = fossilFuel; this.catalog = catalog; this.materialComponentList = fossilFuel.ComponentList; }
public FossilFuelCache(FossilFuelCatalog catalog) : base() { this.fossilFuelType = FossilFuelType.Generic; this.catalog = catalog; }
public object[] GetFossilFuelArray() { FossilFuelCatalog catalog = FossilFuelCatalog.Instance; return(catalog.GetFossilFuelList().ToArray(typeof(object)) as object[]); }