Stepper3 D
data class Stepper3D(directions: List<Direction3D>, step: Int, canCapture: Boolean) : MoveGenerator3D
Content copied to clipboard
Performs single (repeated) steps in a particular board direction
Constructors
Stepper3D
Link copied to clipboard
fun Stepper3D(direction: Direction3D, step: Int, canCapture: Boolean = false)
Content copied to clipboard
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
copy
Link copied to clipboard
fun copy(directions: List<Direction3D>, step: Int, canCapture: Boolean = false): MoveGenerator3D.Stepper3D
Content copied to clipboard
generate
Link copied to clipboard
open override fun generate(board: Board3D, coordinate: Coordinate3D, piece: Piece3D, player: Player): List<BasicMove3D>
Content copied to clipboard