Ejemplo n.º 1
0
        public bool Initialize()
        {
            if (!m_initialized)
            {
                m_context     = new SFML.Window.Context();
                m_initialized = m_context.SetActive(true);
            }

            return(m_initialized);
        }
Ejemplo n.º 2
0
        public void Terminate()
        {
            if (m_initialized && (m_context != null))
            {
                m_context.SetActive(false);

                m_context     = null;
                m_initialized = false;
            }
        }