public override void receiveLeftClick(int x, int y, bool playSound = true) { if (upperRightCloseButton != null || readyToClose() || upperRightCloseButton.containsPoint(x, y)) { if (playSound) { Game1.playSound("bigDeSelect"); } _doneEnter(_textBox.Text); return; } _textBox.Update(); if (_doneEnterButton.containsPoint(x, y)) { TextBoxEnter(_textBox); Game1.playSound("smallSelect"); } _textBox.Update(); }
public void Update() => _textBox.Update();
public override void ReceiveLeftClick(int x, int y) { _textBox.Update(); }