Esempio n. 1
0
    /**
     * Checks characters to see if any of them set a new record.
     * @param silent if true notifications will not be displayed when a record is set.
     */
    public void UpdateCharacterRecords(Boolean silent = false)
    {
        if (silent)
        {
            GameStats.PostNotifications = false;
        }

        foreach (MDRCharacter character in CharacterList)
        {
            GameStats.CheckCharacterRecords(character);
        }

        if (silent)
        {
            GameStats.PostNotifications = true;
        }
    }