private void RegisterAction(CommandTypes type, int?XBlock = null, int?YBlock = null, char?F = null) { BoardAction action = ActionsTranslator.TranslateAction(type, XBlock, YBlock, F); ActionsManager.RegisterAction(action); }