GamePhaseBuilder

class GamePhaseBuilder(length: Long)

Functions

build
Link copied to clipboard
fun build(): GamePhase
counterMessage
Link copied to clipboard
fun counterMessage(callback: (secondsLeft: Long) -> String)
fun counterMessage(beforeTime: String? = null, afterTime: String? = null, hours: String = "h", minutes: String = "m", seconds: String = "s")
end
Link copied to clipboard
fun end(callback: () -> Unit)
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
start
Link copied to clipboard
fun start(callback: () -> Unit)
toString
Link copied to clipboard
open fun toString(): String

Properties

length
Link copied to clipboard
val length: Long