LuxEngine.Scene.Pause C# (CSharp) Method

Pause() public method

Pause the game, then fire the Paused event.
public Pause ( Scene sender, EventArgs e ) : void
sender Scene
e System.EventArgs
return void
        public void Pause(Scene sender, EventArgs e)
        {
            paused = true;
            if (Paused != null)
                Paused(sender, e);
            foreach (Scene subScene in subScenes)
                subScene.Pause(this, e);
        }