Capture Only
data class CaptureOnly(moveGenerator: MoveGeneratorHex) : MoveGeneratorHex
Content copied to clipboard
A given move can only occur if it captures a piece
Constructors
CaptureOnly
Link copied to clipboard
Functions
component1
Link copied to clipboard
copy
Link copied to clipboard
generate
Link copied to clipboard
open override fun generate(board: BoardHex, coordinate: Coordinate2D, piece: PieceHex, player: Player): List<BasicMoveHex>
Content copied to clipboard
Properties
moveGenerator
Link copied to clipboard