Example #1
0
        public void TriggerCannonEvent(BowserObject boss)
        {
            CannonEventArgs args = new CannonEventArgs(boss);

            OnRaiseCannonEvent(args);
        }
        protected virtual void OnRaiseCannonEvent(CannonEventArgs e)
        {
            EventHandler <CannonEventArgs> handler = RaiseCannonEvent;

            handler?.Invoke(e.Sender, e);
        }