public CommandHandler() { EventHandler = Values.GetEventHandler(); CommandList.Add(new RollDiceCommand()); CommandList.Add(new HelpCommand()); }
public static void SetEventHandler(Event.EventHandler handler) { if (eventHandler == null) { eventHandler = handler; } }
public void Detach(EventCategory category, Event.EventHandler func) { GetEvent().Detach(category, func); }