//Solitaire/de.syntaktischer.zucker.Solitaire/GameState
[jvm] data class GameState(board: Board, type: BoardType, moves: Int)
jvm
Name | Summary |
---|---|
board | current board configuration |
type | the board’s type |
moves | number of moves the user played so far |
Name | Summary |
---|---|
GameState | [jvm] fun GameState(board: Board, type: BoardType, moves: Int)current board configuration |
Name | Summary |
---|---|
component1 | [jvm] Content operator fun component1(): Board |
component2 | [jvm] Content operator fun component2(): BoardType |
component3 | [jvm] Content operator fun component3(): Int |
copy | [jvm] Content fun copy(board: Board, type: BoardType, moves: Int): GameState |
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 |
---|---|
board | [jvm] val board: Boardcurrent board configuration |
moves | [jvm] val moves: Intnumber of moves the user played so far |
type | [jvm] val type: BoardTypethe board’s type |