Пример #1
0
 public GameData()
 {
     enemySpawnStep           = 0.2f;
     timeToWinLeft            = 90f;
     dayStep                  = 60f;
     timerIncreasingValue     = 0f;
     timerSkipKoef            = 2.5f;
     permanentSoldierModifier = 1;
     soldiersCount            = 51;
     aliensHearts             = 0;
     autoClickerBonus         = 0;
     clickBonus               = 0;
     offlineClickBonus        = 0;
     maxHp              = 0;
     prestigeLvl        = 0;
     fps                = 60;
     leapCounter        = 3;
     language           = System.Globalization.CultureInfo.CurrentUICulture.TwoLetterISOLanguageName;
     number             = "27";
     month              = "June";
     year               = "2019";
     exitTime           = "";
     passwordDebug      = "";
     enableSFX          = true;
     wasTutorial        = false;
     isDefend           = false;
     wasAttack          = false;
     hasLost            = false;
     hasRevertPrestige  = false;
     inversedScale      = false;
     enableNotificaions = false;
     products           = new Dictionary <string, Product>();
     giftTimer          = new GiftTimer(60, 0);
 }
Пример #2
0
 public void Timer(GiftTimer timer)
 {
     OnTimer(timer);
 }