protected override void OnHide () { item = null; }
/// <summary> /// Adds coins to the player's score based on the value defined in the agenda item /// </summary> public void ApplyPlayerReward (PlayerAgendaItem item) { Game.Controller.FindPlayer (item.PlayerName).CoinCount += Settings.Rewards[item.Reward]; SendUpdateMessage (); }