abstract class Chess::Piece
- Chess::Piece
- Reference
- Object
Direct Known Subclasses
Defined in:
piece.crConstructors
Instance Method Summary
- #black? : Bool
- #captured? : Bool
- #color : Color
- #directions : Array(Array(Position))
- #position : Position
- #position=(position : Position)
- #possible_moves(board : Board) : Array(Position)
- #value : Int32
- #white? : Bool