Solitaire

//Solitaire/de.syntaktischer.zucker.Solitaire/MoveManager

MoveManager

[jvm] class MoveManager(game: PlayableGame)

Constructors

Name Summary
MoveManager [jvm] fun MoveManager(game: PlayableGame)

Functions

Name Summary
equals [jvm]
Content
open operator fun equals(other: Any?): Boolean


execute [jvm]
Content
fun execute(command: UndoableCommand)


hashCode [jvm]
Content
open fun hashCode(): Int


move [jvm]
Content
fun move(fromPosX: Int, fromPosY: Int, direction: Direction)


redo [jvm]
Content
fun redo()


toString [jvm]
Content
open fun toString(): String


undo [jvm]
Content
fun undo()


Properties

Name Summary
game [jvm] val game: PlayableGame
history [jvm] val history: MutableList<UndoableCommand>
redoHistory [jvm] val redoHistory: MutableList<UndoableCommand>