htwdd.chessgame.server.util / RookMovementUtility / getThreadedFields
getThreadedFields
fun getThreadedFields(threatedFields: HashSet<Pair<Int, Int>>, row: Int, col: Int, match: Match): Unit
Overrides Movement.getThreadedFields
Calculate all possible threated fields for a rook piece
Parameters
threatedFields - Hash set which was filled with threated fields
row - Row value of piece from which the threat emanate
col - Column value of piece from which the threat emanate
match - Match which contains the piece
Author Felix Dimmel
Since 1.0.0