Exemple #1
0
    protected void SendEffectRemovedEvent(GameObject cause, GameObject target)
    {
        EventData data = new EventData();

        data.AddGameObject("Cause", cause);
        data.AddGameObject("Target", target);
        data.AddEffect("Effect", this);

        EventGrid.EventManager.SendEvent(Constants.GameEvent.EffectRemoved, data);
    }