/************************************************************************/ /* constructor */ /************************************************************************/ public StateManager(OgreManager _engine) { mEngine = _engine; mInput = new MoisManager(); mGuiSystem = new MiyagiSystem("Mogre"); mCurrentState = null; mNewState = null; mShutdown = false; }
/************************************************************************/ /* constructor */ /************************************************************************/ internal OgreManager() { mRoot = null; mWindow = null; mSceneMgr = null; mCamera = null; mViewport = null; mRenderingActive = false; mResourceMgr = null; mWindowHandle = IntPtr.Zero; Singleton = this; }