public void ChangeHitPoints(int addend)
    {
        if (addend > 0)
        {
            if (hitPoints < hitPointsMaximum)
            {
                this.hitPoints += addend;
                lifeBar.ShowNextLife();

                if (hitPoints == hitPointsMaximum)
                {
                    spawner.DontSpawnObject("Helper Life");
                    isChanceChanged = true;
                }
            }
        }
        else
        {
            hitPoints += addend;
            lifeBar.HideLife();

            if (hitPoints > 0 && isChanceChanged)
            {
                spawner.RestoreObjectToSpawn("Helper Life");
                isChanceChanged = false;
            }
        }
    }
    public void AddTokens(int tokensToAdd)
    {
        currentTokens = PlayerInfo.info.mysteryTokens;
        PlayerInfo.info.mysteryTokens += tokensToAdd;

        if (PlayerInfo.info.mysteryTokens >= PlayerInfo.info.maxMysteryTokens)
        {
            doCompletedTokensAnim = true;
            if (spawner != null)
            {
                spawner.DontSpawnObject("HelperMysteryToken");
            }
            PlayerInfo.info.mysteryTokens   = PlayerInfo.info.maxMysteryTokens;
            PlayerInfo.info.unlockNextShape = true;
        }

        beginAnim = true;
        addend    = (int)(tokensToAdd * Time.deltaTime);
        if (addend < 1)
        {
            addend = 1;
        }
    }