// Called when the node enters the scene tree for the first time. private void Init() { //Adds a monster to the mob AddMonsterEvent.RegisterListener(OnAddMonsterEvent); //The listener for the change ID event for the mob SetMobRoomIDEvent.RegisterListener(OnSetMobRoomIDEvent); }
//Add a monster to the mob when the add monster event is called private void OnAddMonsterEvent(AddMonsterEvent amei) { }