Check whether the target square is not occupied (i.e. whether the piece can move toward the given direction from the current location)
direction that the piece can move toward
params array index of the direction that the piece will move toward
Clone itself
copied instance
Generated using TypeDoc
A partial move context