PieceHex

interface PieceHex : Piece<BoardHex, MoveGeneratorHex, PieceHex, Coordinate2D>

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
getSymbol
Link copied to clipboard
abstract fun getSymbol(): String
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String

Properties

moveGenerators
Link copied to clipboard
abstract val moveGenerators: List<MoveGeneratorHex>
that corresponds to the piece
player
Link copied to clipboard
abstract val player: Player
the player that owns the piece

Inheritors

ChessPawnHex
Link copied to clipboard
HexBishop
Link copied to clipboard
HexKing
Link copied to clipboard
HexKnight
Link copied to clipboard
HexQueen
Link copied to clipboard
HexRook
Link copied to clipboard