// Called when the node enters the scene tree for the first time. private void Init() { //Register the listener for the add adventurer event message AddAdventurerEvent.RegisterListener(OnAddAdventurerEvent); //The listener for the change id event for the party SetPartyRoomIDEvent.RegisterListener(OnSetPartyRoomIDEvent); }
//Add an adventurer to the party when the add adventurer event is called private void OnAddAdventurerEvent(AddAdventurerEvent aaei) { }