Exemple #1
0
        static AssetClassFactory()
        {
            ResourceAssetClassCache cache = new ResourceAssetClassCache();

            Factory = new ResourceAssetClassFactory[AssetType.BaseAssetTypeCount];
            for (int i = 0; i < AssetType.BaseAssetTypeCount; i++)
            {
                Factory[i] = new ResourceAssetClassFactory(cache, i);
            }
        }
Exemple #2
0
 public ResourceAssetClassFactory(ResourceAssetClassCache classCache, int type)
 {
     _classCache = classCache;
     _type       = type;
 }