Beispiel #1
0
 public CharacterElfDark()
 {
     Name         = "Dark Elf";
     Description  = "An evil elf character.";
     MaxHitPoints = HitPoints = new HitPoint(100);
     Weapon       = null;
     Equipment    = null;
     Face         = new Image();
     Face.Source  = HelperImages.UriStringToImageSource("pack://application:,,,/Images/Faces/BadFaces/CharacterElfDarkFace.png");
 }
Beispiel #2
0
 public CharacterNinjaMale()
 {
     Name         = "Male Ninja";
     Description  = "A sly, agile character.";
     MaxHitPoints = HitPoints = new HitPoint(100);
     Weapon       = null;
     Equipment    = null;
     Face         = new Image();
     Face.Source  = HelperImages.UriStringToImageSource("pack://application:,,,/Images/Faces/GoodFaces/CharacterNinjaMaleFace.png");
 }
 public CharacterKnightFemale()
 {
     Name         = "Female Knight";
     Description  = "A strong, armored character.";
     MaxHitPoints = HitPoints = new HitPoint(100);
     Weapon       = null;
     Equipment    = null;
     Face         = new Image();
     Face.Source  = HelperImages.UriStringToImageSource("pack://application:,,,/Images/Faces/GoodFaces/CharacterKnightFemaleFace.png");
 }
 public CharacterSoldierFemale()
 {
     Name         = "Female Soldier";
     Description  = "A battle-tested character.";
     MaxHitPoints = HitPoints = new HitPoint(100);
     Weapon       = null;
     Equipment    = null;
     Face         = new Image();
     Face.Source  = HelperImages.UriStringToImageSource("pack://application:,,,/Images/Faces/GoodFaces/CharacterSoldierFemaleFace.png");
 }
Beispiel #5
0
 public CharacterMagicianFemale()
 {
     Name         = "Female Magician";
     Description  = "A mystical character.";
     MaxHitPoints = HitPoints = new HitPoint(100);
     Weapon       = null;
     Equipment    = null;
     Face         = new Image();
     Face.Source  = HelperImages.UriStringToImageSource("pack://application:,,,/Images/Faces/GoodFaces/CharacterMagicianFemaleFace.png");
 }
 public void SetPbHitPoints(HitPoint hitpoints)
 {
     pbHitPoints.Value           = hitpoints.Value;
     lblHitPointFraction.Content = GetFormattedHitPointFraction();
 }