# Package net.axay.kspigot.game

## Types

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

## 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
Content copied to clipboard
buildGame
Link copied to clipboard
fun buildGame(builder: GamePhaseSystemBuilder.() -> Unit): GamePhaseSystem
Content copied to clipboard