class LxChess::MoveSet
- LxChess::MoveSet
- Reference
- Object
Defined in:
lx_chess/move_set.crConstructors
Instance Method Summary
- #add_offset(x : Int16, y : Int16)
-
#add_offset(offset : Int16, captures : Bool = true)
Does not check for crossing border edges
- #add_offsets(offsets : Array(NamedTuple(x: Int32, y: Int32)))
- #add_vector(x : Int16, y : Int16, limit : Int16, captures : Bool = true)
- #board : Board
- #board=(board : Board)
- #moves : Array(Int16)
- #moves=(moves : Array(Int16))
- #origin
- #piece : Piece
- #piece=(piece : Piece)