Exemplo n.º 1
0
        /// <summary>
        /// Goes through the game state and draws all the game objects and special effects.
        /// </summary>
        protected internal void draw()
        {
            //var mark:uint = getTimer();

            FlxG.lockCameras(); // Nothing happens here...
            State.draw();
            FlxG.drawPlugins();
            FlxG.unlockCameras();             // Draw camera FX

            //if(_debuggerUp)
            //	_debugger.perf.flixelDraw(getTimer()-mark);
        }