Package net.axay.kspigot.game

Types

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

Functions

buildGame
Link copied to clipboard
fun buildGame(builder: GamePhaseSystemBuilder.() -> Unit): GamePhaseSystem
counterMessage
Link copied to clipboard
fun counterMessage(beginning: String, seconds: String, second: String, prefix: String?, suffix: String?): (Long) -> String