public void exitMapEditor() { Game.instance.currentState.setState(GameState.Gameplay); control.Dispose(); Game.instance.IsMouseVisible = false; }