예제 #1
0
 public FossilFuelCache(FossilFuelCatalog catalog)
     : base()
 {
     this.fossilFuelType = FossilFuelType.Generic;
     this.catalog        = catalog;
     this.name           = GetUniqueName();
 }
예제 #2
0
 public static FossilFuelCatalog GetInstance()
 {
     if (self == null)
     {
         self = new FossilFuelCatalog();
     }
     return(self);
 }
예제 #3
0
 public FossilFuelCache(FossilFuel fossilFuel, FossilFuelCatalog catalog)
     : base()
 {
     this.fossilFuel     = fossilFuel;
     this.name           = fossilFuel.Name;
     this.fossilFuelType = fossilFuel.FossilFuelType;
     this.fossilFuel     = fossilFuel;
     this.catalog        = catalog;
 }
예제 #4
0
 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;
 }
예제 #5
0
 public FossilFuelCache(FossilFuelCatalog catalog)
     : base()
 {
     this.fossilFuelType = FossilFuelType.Generic;
     this.catalog        = catalog;
 }
예제 #6
0
        public object[] GetFossilFuelArray()
        {
            FossilFuelCatalog catalog = FossilFuelCatalog.Instance;

            return(catalog.GetFossilFuelList().ToArray(typeof(object)) as object[]);
        }