Пример #1
0
 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();
 }
Пример #2
0
 public void Update() => _textBox.Update();
Пример #3
0
 public override void ReceiveLeftClick(int x, int y)
 {
     _textBox.Update();
 }