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

            OnRaiseEnterBossRoomEvent(args);
        }
예제 #2
0
        protected virtual void OnRaiseEnterBossRoomEvent(EnterBossRoomEventArgs e)
        {
            EventHandler <EnterBossRoomEventArgs> handler = RaiseEnterBossRoomEvent;

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