Exemplo n.º 1
0
        public override void Draw(GameTime gameTime)
        {
            GameTime = gameTime;

            CCDrawManager.BeginDraw();

            CCDirector.SharedDirector.MainLoop(gameTime);

            base.Draw(gameTime);

            CCDrawManager.EndDraw();
        }
Exemplo n.º 2
0
        public override void Draw(GameTime gameTime)
        {
            GameTime = gameTime;

            // Begin measuring our Draw method
            //DebugSystem.Instance.TimeRuler.BeginMark("Draw", Color.Red);

            CCDrawManager.BeginDraw();

            CCDirector.SharedDirector.MainLoop(gameTime);

            base.Draw(gameTime);

            CCDrawManager.EndDraw();

            // End measuring our Draw method
            //DebugSystem.Instance.TimeRuler.EndMark("Draw");
        }