Exemple #1
0
 internal BspResourceManager()
     : base()
 {
     if (instance == null)
     {
         instance           = this;
         ResourceType       = "BspLevel";
         this.shaderManager = new Quake3ShaderManager();
         ResourceGroupManager.Instance.RegisterResourceManager(ResourceType, this);
     }
     else
     {
         throw new AxiomException("Cannot create another instance of {0}. Use Instance property instead", GetType().Name);
     }
 }
 static Quake3ShaderManager()
 {
     instance = new Quake3ShaderManager();
 }
 static Quake3ShaderManager()
 {
     instance = new Quake3ShaderManager();
 }