Exemplo n.º 1
0
        public static void AwardTrophy(int iD, RichTextBox rtbBattleMonitor)
        {
            Trophy currentTrophy = World.TrophyByID(iD);

            if (!currentTrophy.PlayerHasTrophy)
            {
                Player.Trophies.Add(currentTrophy);
                currentTrophy.PlayerHasTrophy = true;
                rtbBattleMonitor.Text        += "You have been awarded the " + currentTrophy.Name + " Trophy" + Environment.NewLine;
            }
        }
Exemplo n.º 2
0
        public static void LoadTrophy(int iD, List <Trophy> tempTrophies)
        {
            Trophy currentTrophy = World.TrophyByID(iD);

            tempTrophies.Add(currentTrophy);
        }