class Chess::Queen

Defined in:

pieces/queen.cr

Instance Method Summary

Instance methods inherited from class Chess::Piece

black? : Bool black?, captured? : Bool captured?, color : Color color, directions : Array(Array(Position)) directions, position : Position position, position=(position : Position) position=, possible_moves(board : Board) : Array(Position) possible_moves, value : Int32 value, white? : Bool white?

Constructor methods inherited from class Chess::Piece

make_black : Piece make_black, make_white : Piece make_white, new(color : Color, position : Position = {-1, -1}) new

Instance Method Detail

def directions : Array(Array(Position)) #

[View source]
def value : Int32 #

[View source]