private void LookForMatches(CellView cell, PieceType type) { if (cell == null) { return; } cell.CheckType(type, _currentPool); }
private List <PieceDO> LookForMatchesToList(CellView cell, PieceType type) { List <PieceDO> result = new List <PieceDO>(); if (cell == null) { return(result); } cell.CheckType(type, result); return(result); }