void initializeEventCallbacks() { SpellSelectedEvent.RegisterListener(spellSelected); SpellUnSelectedEvent.RegisterListener(spellUnSelected); CastingLocationChangedEvent.RegisterListener(castingLocationChanged); StoppedCastingEvent.RegisterListener(stoppedCasting); }
void initializeEventCallbacks() { StartedCastingEvent.RegisterListener(castingStarted); StoppedCastingEvent.RegisterListener(castingStopped); SpellSelectedEvent.RegisterListener(SpellSelected); SpellCastEvent.RegisterListener(SpellCast); SpellUnSelectedEvent.RegisterListener(SpellUnselected); CastingProjectionDestroyedEvent.RegisterListener(CastingProjectionDestroyed); CastingProjectionCreatedEvent.RegisterListener(CastingProjectionCreated); CastingLocationChangedEvent.RegisterListener(CastingLocationChanged); }