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); }
public int Nivel(int xp) { int lvl = new Nivel(xp).Level; return(lvl); }
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); }
public int Nivel(int xp) { int lvl = new Nivel(xp).Level; return(lvl); }