Пример #1
0
 public override void Effect(object sender, BonusEventArgs e)
 {
     var player = e.Target as HumanPlayer;
     if (player != null)
     {
         player.GoldAmount += this.Amount;
     }
 }
Пример #2
0
        public override void Effect(object sender, BonusEventArgs e)
        {
            var player = e.Target as HumanPlayer;

            if (player != null)
            {
                player.GoldAmount += this.Amount;
            }
        }
Пример #3
0
 public abstract void Effect(object sender, BonusEventArgs e);
Пример #4
0
 public override void Effect(object sender, BonusEventArgs e)
 {
     throw new NotImplementedException();
 }
Пример #5
0
 public abstract void Effect(object sender, BonusEventArgs e);
Пример #6
0
 public override void Effect(object sender, BonusEventArgs e)
 {
     throw new NotImplementedException();
 }