Ejemplo n.º 1
0
 public void SetAddressBox(Godot.TextEdit box)
 {
     if (addressBox != null)
     {
         addressBox.QueueFree();
     }
     addressBox = box;
     AddChild(box);
 }
Ejemplo n.º 2
0
 public void SetNameBox(Godot.TextEdit box)
 {
     if (nameBox != null)
     {
         nameBox.QueueFree();
     }
     nameBox = box;
     AddChild(box);
 }
Ejemplo n.º 3
0
 public void SetComposeBox(Godot.TextEdit box)
 {
     if (composeBox != null)
     {
         composeBox.QueueFree();
     }
     composeBox = box;
     AddChild(box);
 }
Ejemplo n.º 4
0
 public void SetMessageBox(Godot.TextEdit box)
 {
     if (messageBox != null)
     {
         messageBox.QueueFree();
     }
     messageBox = box;
     box.SetReadonly(true);
     AddChild(box);
 }
Ejemplo n.º 5
0
 public void SetPlayersBox(Godot.TextEdit box)
 {
     if (playersBox != null)
     {
         playersBox.QueueFree();
     }
     addressBox = box;
     if (box != null)
     {
         AddChild(box);
     }
 }