Ejemplo n.º 1
0
        public Nivel Nivel(ProgressBar pb, int xp)
        {
            Nivel lvl = new Nivel(xp);

            pb.Minimum = lvl.Min;
            pb.Maximum = lvl.Max;
            pb.Value   = xp;
            return(lvl);
        }
Ejemplo n.º 2
0
        public int Nivel(int xp)
        {
            int lvl = new Nivel(xp).Level;

            return(lvl);
        }