/// <summary>
 /// Вызывается, когда NPCatchable пойман, перед
 /// </summary>
 /// <param name="catchable"></param>
 public virtual void OnCatch(NPCatchable catchable)
 {
     if (ActivatesExtra && !catchable.Game.isExtraActive)
     {
         catchable.Game.ActivateExtra();
     }
 }
        public NPCatchable Create(NPGame game)
        {
            int         spawnX = game.Random.Next(0, game.Width - this.Width);
            NPCatchable spawn  = new NPCatchable(game, this)
            {
                Reward         = this.Reward,
                Penalty        = this.Penalty,
                Width          = this.Width,
                Height         = this.Height,
                XPosition      = spawnX,
                YPosition      = -this.Height,
                FallRate       = (int)game.FallRate,
                FallRateFactor = this.FallRateFactor
            };

            return(spawn);
        }
 /// <summary>
 /// Вызывается, когда NPCatchable пропущен
 /// </summary>
 /// <param name="catchable"></param>
 public virtual void OnMiss(NPCatchable catchable)
 {
 }