public void AcceptEvent(GameEvent ev) { VConsole.WriteDebug(ev); if (Listeners.ContainsKey(ev.Type)) { Listeners[ev.Type].ForEach(listener => listener.Notify(ev)); } }
public void AcceptEvent(GameEvent ev) { VConsole.WriteDebug(ev); if (Listeners.ContainsKey(ev.Type)) { Listeners[ev.Type].ForEach(listener => listener.Notify(ev)); } }