AnsiGameOverFrameBuilder

class AnsiGameOverFrameBuilder(ansiGridStringBuilder: AnsiGridStringBuilder, frameSize: Size, backgroundColor: AnsiColor = AnsiColor.RESET, borderColor: AnsiColor = AnsiColor.BRIGHT_BLACK, titleColor: AnsiColor = AnsiColor.RED, descriptionColor: AnsiColor = AnsiColor.WHITE) : GameOverFrameBuilder

Provides an ANSI game over frame builder that builds in to the specified ansiGridStringBuilder.

Constructors

Link copied to clipboard
constructor(ansiGridStringBuilder: AnsiGridStringBuilder, frameSize: Size, backgroundColor: AnsiColor = AnsiColor.RESET, borderColor: AnsiColor = AnsiColor.BRIGHT_BLACK, titleColor: AnsiColor = AnsiColor.RED, descriptionColor: AnsiColor = AnsiColor.WHITE)

Functions

Link copied to clipboard
open override fun build(title: String, reason: String): Frame

Build a frame with a title and reason.