King3D

data class King3D(player: Player) : Piece3D, Royal

Represents a King in 3D chess

Constructors

King3D
Link copied to clipboard
fun King3D(player: Player)

Functions

component1
Link copied to clipboard
operator fun component1(): Player
copy
Link copied to clipboard
fun copy(player: Player): King3D
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
getSymbol
Link copied to clipboard
open override fun getSymbol(): String
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

moveGenerators
Link copied to clipboard
open override val moveGenerators: List<MoveGenerator3D.Stepper3D>
that corresponds to the piece
player
Link copied to clipboard
open override val player: Player
the player that owns the piece