示例#1
0
        private ValidationReport RunMovementValidations(Player currentPlayer, CommandParser.PlayerMoves direction)
        {
            ValidationProperties properties =
                new ValidationProperties(Players, Matrix, currentPlayer, direction, Rows, Columns);

            Validations validations = new Validations(properties);

            return(validations.RunValidations());
        }
示例#2
0
 public Validations(ValidationProperties properties)
 {
     Properties = properties;
 }