Example #1
0
        public void TriggerEnterBossRoom(AbstractGameObject player)
        {
            EnterBossRoomEventArgs args = new EnterBossRoomEventArgs(player);

            OnRaiseEnterBossRoomEvent(args);
        }
        protected virtual void OnRaiseEnterBossRoomEvent(EnterBossRoomEventArgs e)
        {
            EventHandler <EnterBossRoomEventArgs> handler = RaiseEnterBossRoomEvent;

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