コード例 #1
0
		protected override void OnHide () {
			item = null;
		}
コード例 #2
0
	/// <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 ();
	}