Module: CastlingPieceControl
Instance Method Summary collapse
Instance Method Details
#mark! ⇒ Object
6 7 8 |
# File 'lib/sapphire-chess/movement_rules/castling_piece_control.rb', line 6 def mark! @moved = true end |
#moved? ⇒ Boolean
2 3 4 |
# File 'lib/sapphire-chess/movement_rules/castling_piece_control.rb', line 2 def moved? @moved end |