/// <summary> /// Registers a command catcher which allows commands to be processed and their execution controlled by outside methods /// </summary> /// <param name="catcher">The method to catch the commands</param> /// <returns>True if registered, false otherwise</returns> public static bool RegisterCatcher(CommandCatcher catcher) => catchers.Add(catcher);
/// <summary> /// Registers a command catcher which allows commands to be processed and their execution controlled by outside methods /// </summary> /// <param name="catcher">The method to catch the commands</param> public static void RegisterCommandCatcher(CommandCatcher catcher) { catchers.Add(catcher); }