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; } }
public static void LoadTrophy(int iD, List <Trophy> tempTrophies) { Trophy currentTrophy = World.TrophyByID(iD); tempTrophies.Add(currentTrophy); }