public void DoOnClear(Action action) { if (GameTable.IsClearEnabled()) { GameTable.AddOnClearTask(action); } else { action.Invoke(); } }