void RegisterEventCallbacks() { DeathEventInfo.RegisterListener(OnUnitDied); HPChangedEventInfo.RegisterListener(OnHPChange); MPChangedEventInfo.RegisterListener(OnMPChange); UnitSpawnEventInfo.RegisterListener(OnUnitSpawn); CharacterTurnOverEventInfo.RegisterListener(OnTurnOver); }
void RegisterEventCallbacks() { SelectedObjectEventInfo.RegisterListener(OnHighlightSelected); CharacterReadyEventInfo.RegisterListener(OnCharacterReady); BattleWonEventInfo.RegisterListener(OnBattleWon); HPChangedEventInfo.RegisterListener(OnHPChange); MPChangedEventInfo.RegisterListener(OnMPChange); HeroDeathEventInfo.RegisterListener(OnHeroDeath); DeathEventInfo.RegisterListener(OnUnitDied); UnitSpawnEventInfo.RegisterListener(OnUnitSpawn); }