//! Loads a new context stack after clearing the existing one public void LoadContextStack(string path) { PopAllContexts(true); m_ContextStack = new ContextStack(); m_ContextStack.LoadFromXML(path, null); m_ContextStack.Init(); }
//! initializes the engine public void Init() { // create core singletons EntityRenderer.CreateInstance(); GraphicsManager.CreateInstance(); ObjectManager.CreateInstance(); VisitorManager.CreateInstance(); StatsManager.CreateInstance(); m_ContextStack = new ContextStack(); }