Пример #1
0
 public void SetLevel(int level)
 {
     this.level      = level <= 9 ? level : 9;
     this.level      = level >= 0 ? level : 0;
     _secondsPerMove = baseSecondsPerMove * ((1.0f - this.level / 10.0f));
     _mainGUI.SetLevel(level);
 }