/// <summary> /// Reloading all labels with Game data statistics /// </summary> private void ReloadLabels() { ThreadHelperClass.SetText(this, label2, NumberFormatter.Double(_clickerGame.CookiesOverallyCollected)); ThreadHelperClass.SetText(this, label4, NumberFormatter.Double(_clickerGame.CookiesOverallySpent)); ThreadHelperClass.SetText(this, label6, _clickerGame.ClicksDone.ToString()); ThreadHelperClass.SetText(this, label8, _clickerGame.GameStarted.ToLongDateString()); }
/// <summary> /// Reloading all labels with Game data /// </summary> private void ReloadLabels() { ThreadHelperClass.SetText(this, CookieColectedLabel, NumberFormatter.Double(_clickerGame.CookiesColected)); ThreadHelperClass.SetText(this, CPCLabel, NumberFormatter.Double(_clickerGame.CookiesPerClick)); ThreadHelperClass.SetText(this, CPSLabel, NumberFormatter.Double(_clickerGame.CookiesPerSecond)); ThreadHelperClass.SetText(this, StrongClickButton, NumberFormatter.Double(_clickerGame.StrongClick.Cost)); ThreadHelperClass.SetText(this, PointerButton, NumberFormatter.Double(_clickerGame.Pointer.Cost)); ThreadHelperClass.SetText(this, StrongClickLevelLabel, NumberFormatter.Double(_clickerGame.StrongClick.Level)); ThreadHelperClass.SetText(this, StrongClickCPCLabel, NumberFormatter.Double(_clickerGame.StrongClick.CpcToLabel)); ThreadHelperClass.SetText(this, PointerLevelLabel, NumberFormatter.Double(_clickerGame.Pointer.Level)); ThreadHelperClass.SetText(this, PointerCPSLabel, NumberFormatter.Double(_clickerGame.Pointer.CpsToLabel)); }