htwdd.chessgame.server.util / MovementUtility / getFilteredMovementFields
getFilteredMovementFields
fun getFilteredMovementFields(movementFields: HashSet<Pair<Int, Int>>, row: Int, col: Int, match: Match): Unit
Filters movement fields Remove fields which cause a check
Parameters
movementFields - Hash set which was filled with movement fields (without fields where own figures stand e.g.)
row - Row value of piece which should be moved
col - Column value of piece which should be moved
match - Match which contains the piece
Author Felix Dimmel
Since 1.0.0