Composite
data class Composite(moveGenerators: List<MoveGenerator2D>) : MoveGenerator2D
Content copied to clipboard
A wrapper around a list of basic moves to represent composite moves
Constructors
Composite
Link copied to clipboard
Functions
component1
Link copied to clipboard
copy
Link copied to clipboard
fun copy(moveGenerators: List<MoveGenerator2D>): MoveGenerator2D.Composite
Content copied to clipboard
generate
Link copied to clipboard
open override fun generate(board: Board2D, coordinate: Coordinate2D, piece: Piece2D, player: Player): List<BasicMove2D>
Content copied to clipboard
Properties
moveGenerators
Link copied to clipboard