public static void SendEvent(EventTyp typ, object param) { foreach (Action <object> item in all[typ]) { item(param); } }
public static void RemoveEvent(EventTyp typ, Action <object> action) { all[typ].Remove(action); }
public static void AddEvent(EventTyp typ, Action <object> action) { all[typ].Add(action); }