private void CheckForLegalDirection(Move move) { if (move.RowChange != LegalDirectionByTeam()) throw new Exception("You are moving in the wrong direction for this pawn's team."); }