public override void Raise(GameEventHandler eventHandler = null) { if (eventHandler == null) { GameEventHandler.TriggerEvent <int>(this, parameter); } else { eventHandler.TriggerInstanceEvent <int>(this, parameter); } }
public void Raise <T, U, V>(T arg1, U arg2, V arg3, GameEventHandler eventHandler = null) { if (eventHandler == null) { GameEventHandler.TriggerEvent <T, U, V>(this, arg1, arg2, arg3); } else { eventHandler.TriggerInstanceEvent <T, U, V>(this, arg1, arg2, arg3); } }
public virtual void Raise(GameEventHandler eventHandler = null) { if (eventHandler == null) { GameEventHandler.TriggerEvent(this); } else { eventHandler.TriggerInstanceEvent(this); } }
public void Raise <T>(T value, GameEventHandler eventHandler = null) { if (eventHandler == null) { GameEventHandler.TriggerEvent <T>(this, value); } else { eventHandler.TriggerInstanceEvent <T>(this, value); } }