Exemple #1
0
        public Stu(Point position, Room.Room room)
            : base(room)
        {
            Stats = new CharacterStats
            {
                MinimumDamage = 10,
                MaximumDamage = 15,
                BaseHealth = 100,
                DamageReduction = 0.04,
                Dexterity = 15
            };

            Position = position;

            /*Drinks.Add(new OrangeJuice());
            Drinks.Add(new RedBull());
            Drinks.Add(new Coffee());
            FoodItems.Add(new Pizza());
            FoodItems.Add(new Burger());
            FoodItems.Add(new Taco());*/

            ResourceImage = "Resources/stu.jpg";
            Name = "Stu";

            ResetHealth();
        }
Exemple #2
0
        public Billy()
        {
            Stats = new CharacterStats
            {
                MinimumDamage = 10,
                MaximumDamage = 15,
                BaseHealth = 100,
                DamageReduction = 0.00,
                Dexterity = 15
            };

            ResourceImage = "Resources/billy.jpg";
            Name = "Billy";

            ResetHealth();
        }
Exemple #3
0
        public Anna()
        {
            Stats = new CharacterStats
            {
                MinimumDamage = 10,
                MaximumDamage = 15,
                BaseHealth = 100,
                DamageReduction = 0.00,
                Dexterity = 10
            };

            ResourceImage = "Resources/anna.jpg";
            Name = "Anna";

            ResetHealth();
        }
        public SamplePlayer(Point position, Room.Room room)
            : base(room)
        {
            Stats = new CharacterStats
            {
                MinimumDamage = 10,
                MaximumDamage = 15,
                BaseHealth = 100,
                DamageReduction = 0.04
            };

            Position = position;

            Weapon = WeaponFactory.Create(WeaponType.Pencil);
            Drink = DrinkFactory.Create(DrinkType.Coffee);

            ResourceImage = "Resources/samplePlayer.jpg";
            Name = "Sample Player";

            ResetHealth();
        }