コード例 #1
0
        /// <summary>
        ///     Fires the OnNonKillableMinion event
        /// </summary>
        protected NonKillableMinionEventArgs FireNonKillableMinion(AttackableUnit target)
        {
            var args = new NonKillableMinionEventArgs
            {
                Target = target
            };

            OnNonKillableMinion?.Invoke(Player, args);

            return(args);
        }
コード例 #2
0
 private static void FireOnNonKillableMinion(AttackableUnit minion)
 {
     OnNonKillableMinion?.Invoke(minion);
 }