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