示例#1
0
        /// <summary>
        /// Draw this instance on current frame.
        /// </summary>
        public void Draw()
        {
            IDrawable current;

            for (int i = 0; i < _drawablesCount; i++)
            {
                current = _drawables[i];

                if (current.Enabled)
                {
                    current.Draw(_drawContext);
                }
            }

            CurrentScene.Draw(_drawContext);

            GraphicSystem.Render();
        }