Exemplo n.º 1
0
 /// <summary>
 /// Removes all buttons, etc. from the GUI.
 /// </summary>
 public void ClearGUIs()
 {
     ClearButtons();
     statBox = null;
     textBox = null;
     optionsBox = null;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Removes all buttons, etc. from the GUI.
 /// </summary>
 public void ClearGUIs()
 {
     ClearButtons();
     statBox    = null;
     textBox    = null;
     optionsBox = null;
 }
Exemplo n.º 3
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;
 }
Exemplo n.º 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);
 }