Example #1
0
        public void Draw(double frameTime)
        {
            m_SpriteBatch.Prepare();

            foreach (AControl c in m_Controls)
            {
                if (c.IsInitialized)
                {
                    c.Draw(m_SpriteBatch);
                }
            }

            if (Cursor != null)
            {
                Cursor.Draw(m_SpriteBatch, Engine.Input.MousePosition);
            }

            m_SpriteBatch.Flush();
        }