public override void KeyUp(KeyEventArgs e) { if (e.KeyCode == Keys.Escape) { Instance.ChangeScreen(Instance.GuiGameMenu); } }
public override void MouseUp(MouseEventArgs e) { base.MouseUp(e); if (Bounds.Contains(StaticMouse.MouseX, StaticMouse.MouseY)) { Instance.GuiModeMenu.Game = Game; Instance.ChangeScreen(Instance.GuiModeMenu); } }