//Solitaire/de.syntaktischer.zucker.Solitaire/Peg
[jvm] data class Peg(id: Int, value: PegType, i: Int, j: Int)
jvm
Name | Summary |
---|---|
Peg | [jvm] fun Peg(id: Int = -1, value: PegType = PegType.EMPTY, i: Int = -1, j: Int = -1)unique identifier of the peg |
Name | Summary |
---|---|
available | [jvm] Content fun available(): Boolean |
component2 | [jvm] Content operator fun component2(): PegType |
component3 | [jvm] Content operator fun component3(): Int |
component4 | [jvm] Content operator fun component4(): Int |
copy | [jvm] Content fun copy(): Peg fun copy(id: Int = -1, value: PegType = PegType.EMPTY, i: Int = -1, j: Int = -1): Peg |
equals | [jvm] Content open operator override fun equals(other: Any?): Boolean |
hashCode | [jvm] Content open override fun hashCode(): Int |
toString | [jvm] Content open override fun toString(): String |
Name | Summary |
---|---|
i | [jvm] val i: Intoffset of peg in row or -1 if not placed on board |
j | [jvm] val j: Int: offset of peg in column or -1 if not placed on board |
value | [jvm] var value: PegTypevalue of the peg indicating presence (FULL) or absence (EMPTY) in board location |