/// <summary>
 /// Removes all buttons, etc. from the GUI.
 /// </summary>
 public void ClearGUIs()
 {
     ClearButtons();
     statBox = null;
     textBox = null;
     optionsBox = null;
 }
Beispiel #2
0
 /// <summary>
 /// Removes all buttons, etc. from the GUI.
 /// </summary>
 public void ClearGUIs()
 {
     ClearButtons();
     statBox    = null;
     textBox    = null;
     optionsBox = null;
 }
 /// <summary>
 /// Creates the view for the selecter hero/character's statistics
 /// </summary>
 /// <param name="HealthAndEnergy">Rectangle to which to draw the portrait and the Health and Energy bars.</param>
 /// <param name="Experience">Rectangle to which to draw the experience bar, if it exists.</param>
 /// <returns>The created CharacterBox.</returns>
 public CharacterBox createStatBox(Rectangle HealthAndEnergy, Rectangle Experience)
 {
     statBox = new CharacterBox(HealthAndEnergy, Experience);
     return statBox;
 }
Beispiel #4
0
 /// <summary>
 /// Creates the view for the selecter hero/character's statistics
 /// </summary>
 /// <param name="HealthAndEnergy">Rectangle to which to draw the portrait and the Health and Energy bars.</param>
 /// <param name="Experience">Rectangle to which to draw the experience bar, if it exists.</param>
 /// <returns>The created CharacterBox.</returns>
 public CharacterBox createStatBox(Rectangle HealthAndEnergy, Rectangle Experience)
 {
     statBox = new CharacterBox(HealthAndEnergy, Experience);
     return(statBox);
 }