Example #1
0
 void incrementLevel()
 {
     if (current_lvl > level_list.getActualMaxLvl())
     {
         return;
     }
     if (current_lvl == level_list.getActualMaxLvl())
     {
         level_list.setMaxLvl(current_lvl + 1);
         current_lvl++;
     }
 }