/// <summary> /// Removes all buttons, etc. from the GUI. /// </summary> public void ClearGUIs() { ClearButtons(); statBox = null; textBox = null; optionsBox = null; }
/// <summary> /// Creates a text box at the given position. /// </summary> /// <param name="position">Top left corner of the box.</param> /// <returns>The created TextBox</returns> public TextBox createTextBox(Rectangle position) { textBox = new TextBox(position); return textBox; }