private bool isLegalContinuousMove(Board.Cell i_SourceCell, Board.Cell i_TargetCell) { bool isSourceCellLegal = i_SourceCell.Equals(m_TargetCell); bool isTargetCellLegal = (r_Board.GetCoin(i_TargetCell) == null) && r_Board.GetCoin(i_SourceCell).ObligatoryMoves.Contains(i_TargetCell); return(isSourceCellLegal && isTargetCellLegal); }
private bool isRelevantCell(Board.Cell i_PotentialCell, Board.Cell i_CompareToCell) { return(!i_PotentialCell.Equals(i_CompareToCell)); }