ReplayRecorder

class ReplayRecorder constructor(randomSeed: Long, val player: Player, recordedKeyCodes: IntArray, serializePlayer: (Player) -> Int) : Thread

Constructors

Link copied to clipboard
constructor(randomSeed: Long, player: Player, recordedKeyCodes: IntArray, serializePlayer: (Player) -> Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open fun countStackFrames(): Int
Link copied to clipboard
fun dispose()
Link copied to clipboard
open fun getId(): Long
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun interrupt()
Link copied to clipboard
Link copied to clipboard
fun join()
fun join(p0: Long)
fun join(p0: Long, p1: Int)
Link copied to clipboard
fun resume()
Link copied to clipboard
open override fun run()
Link copied to clipboard
fun save(dir: Path, name: String, id: Long): Boolean

Save the replay.

fun save(dir: String, name: String, id: Long): Boolean
Link copied to clipboard
open fun start()
Link copied to clipboard
fun stop()
Link copied to clipboard
fun suspend()
Link copied to clipboard
open override fun toString(): String