Example #1
0
        public Hero(string Name, int Hp, int Strenght, int Stamina, int Agility, int Speed, int Lvl, int Xp)
        {
            StatsHero objet = new StatsHero(Hp, Strenght, Stamina, Agility, Speed);

            this.Name = Name;
            this.Xp   = Xp;
            this.Lvl  = Lvl;
            StatHero  = objet;
        }
Example #2
0
        public Hero(string Name)
        {
            StatsHero objet = new StatsHero();

            this.Name = Name;
            Xp        = 0;
            Lvl       = 1;
            StatHero  = objet;
        }