CastlingDirection

enum CastlingDirection : Enum<CastlingDirection>

Represents the direction the castling may happen LEFT represents queenside castling (castling with the queenside/left rook) RIGHT represents kingside castling (castling with the kingside/right rook)

Entries

LEFT
Link copied to clipboard
RIGHT
Link copied to clipboard

Functions

compareTo
Link copied to clipboard
operator override fun compareTo(other: CastlingDirection): Int
equals
Link copied to clipboard
operator override fun equals(other: Any?): Boolean
finalize
Link copied to clipboard
fun finalize()
getDeclaringClass
Link copied to clipboard
fun getDeclaringClass(): Class<CastlingDirection>
hashCode
Link copied to clipboard
override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int