Exemplo n.º 1
0
        public ControlGamePlay()
        {
            InitializeComponent();

            //battleGround.Background = new ImageBrush(new BitmapImage(new Uri(BaseUriHelper.GetBaseUri(this), "cscd349FinalProject/images/backgrounds/bg1.png")));
            // ImageSource

            battleGround.Background = HelperImages.UriStringToImageBrush("pack://application:,,,/Images/Backgrounds/bg1.jpg");
        }
Exemplo n.º 2
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");
 }
Exemplo n.º 3
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");
 }
Exemplo n.º 4
0
 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");
 }
Exemplo n.º 5
0
 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");
 }
Exemplo n.º 6
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");
 }