public void BuyDice() { if (LevelManager.GetInstance().Buy(GetNewDiceCost())) { DiceBoughtStat.AddPoints(1); CreateDice(); } }
private void Roll() { m_rollValue = Random.Range(1, m_stats.GetSides() + 1); m_text.text = m_rollValue.ToString(); RollsStats.AddPoints(1); EyesStats.AddPoints(m_rollValue); }
public void CheckCombos() { int comboCount = 0; foreach (string combo in m_unlockedComboStrings) { comboCount = m_allCombos[combo].CheckCombo(DiceManager.GetInstance().GetDiceList()); } ComboGroup.AddPoints(comboCount); PerkManager.GetInstance().CheckPerks(); }
public void AddMoney(int rewardValue) { GoldStats.AddPoints(rewardValue); Money += rewardValue; }
public void AddXp(int rewardValue) { XPStats.AddPoints(rewardValue); Xp += rewardValue; }