public OgreInterface() { if (instance != null) { throw new InvalidPluginException("The OgrePlugin plugin can only be initialized one time."); } ogreResourceManager = new OgreResourceManager(materialParser); }
internal OgreResourceManager(MaterialParserManager materialParser) { this.materialParser = materialParser; ogreResourceManager = OgreResourceGroupManager.getInstance(); instance = this; }