engine
/
pieces.xiangqi
/
XiangqiHorse
Xiangqi
Horse
data class
XiangqiHorse
(player:
Player
) :
Piece2D
Content copied to clipboard
Represents a horse in Xiangqi
Constructors
Functions
Properties
Constructors
XiangqiHorse
Link copied to clipboard
fun
XiangqiHorse
(player:
Player
)
Content copied to clipboard
Functions
component1
Link copied to clipboard
operator fun
component1
():
Player
Content copied to clipboard
copy
Link copied to clipboard
fun
copy
(player:
Player
):
XiangqiHorse
Content copied to clipboard
equals
Link copied to clipboard
open operator override fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
getSymbol
Link copied to clipboard
open override fun
getSymbol
():
String
Content copied to clipboard
hashCode
Link copied to clipboard
open override fun
hashCode
():
Int
Content copied to clipboard
toString
Link copied to clipboard
open override fun
toString
():
String
Content copied to clipboard
Properties
moveGenerators
Link copied to clipboard
open override val
moveGenerators
:
List
<
MoveGenerator2D.Composite
>
Content copied to clipboard
that corresponds to the piece
player
Link copied to clipboard
open override val
player
:
Player
Content copied to clipboard
the player that owns the piece