toNextLevel() public méthode

public toNextLevel ( int expNeeded, int received ) : int
expNeeded int
received int
Résultat int
Exemple #1
0
 static void Main(string[] args)
 {
     LevelUp s = new LevelUp();
     int[] a = { 150, 450, 900, 1800 };
     Console.WriteLine(s.toNextLevel(a, 612));
     Console.ReadLine();
 }
Exemple #2
0
        static void Main(string[] args)
        {
            LevelUp s = new LevelUp();

            int[] a = { 150, 450, 900, 1800 };
            Console.WriteLine(s.toNextLevel(a, 612));
            Console.ReadLine();
        }