static EventHub() { handlers = new EhEventHandler[ (int)EhHandlerType.NumberOfHandlerTypes] { EhSentinel, EhSentinel, EhSentinel, EhSentinel, EhSentinel }; }
public static void AddHandler(EhHandlerType handlerType, EhEventHandler handler) { handlers[(int)handlerType] = handler; }