Ejemplo n.º 1
0
    void initializeEventCallbacks()
    {
        SpellSelectedEvent.RegisterListener(spellSelected);
        SpellUnSelectedEvent.RegisterListener(spellUnSelected);

        CastingLocationChangedEvent.RegisterListener(castingLocationChanged);
        StoppedCastingEvent.RegisterListener(stoppedCasting);
    }
Ejemplo n.º 2
0
 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);
 }