Package net.axay.kspigot.game

Types

GamePhase
Link copied to clipboard
class GamePhase(length: Long, start: () -> Unit?, end: () -> Unit?, counterMessage: (secondsLeft: Long) -> String?)
GamePhaseBuilder
Link copied to clipboard
class GamePhaseBuilder(length: Long)
GamePhaseSystem
Link copied to clipboard
class GamePhaseSystem(gamePhases: GamePhase)
GamePhaseSystemBuilder
Link copied to clipboard
class GamePhaseSystemBuilder

Functions

buildCounterMessageCallback
Link copied to clipboard
fun buildCounterMessageCallback(beforeTime: String? = null, afterTime: String? = null, hourPlural: String = "h", minutePlural: String = "m", secondPlural: String = "s", hourSingular: String = hourPlural, minuteSingular: String = minutePlural, secondSingular: String = secondPlural): (Long) -> String
buildGame
Link copied to clipboard
fun buildGame(builder: GamePhaseSystemBuilder.() -> Unit): GamePhaseSystem