Ejemplo n.º 1
0
 private void Resume(KeyboardDevice keyboard, MouseDevice mouse)
 {
     //mouse.ButtonReleased = null;
     mouse.UnsubscribeAll();
     mouse.Position = paused_mouse_position;
     Engine.GameScreens["Pause"].Disable();
     Engine.BackgroundScreen.Components.Add(keyboard);
     Engine.BackgroundScreen.Components.Add(mouse);
     Engine.blur.Visible = false;
     mouse.ResetMouseAfterUpdate = true;
     this.IsMouseVisible = false;
 }