Package-level declarations
Types
Link copied to clipboard
Provides an implementation of a ConsoleAdapter for an ANSI compatible console.
Link copied to clipboard
class AnsiConsoleGameEngine(parameters: TextFrameParameters = TextFrameParameters(DEFAULT_WIDTH, DEFAULT_LINES), enterPrompt: String = "<enter> ", adapter: ConsoleAdapter = AnsiConsoleAdapter()) : GameEngine
A class that functions as an engine for an ANSI compatible console. The display parameters can be specified to set up the text frame. An enterPrompt can be specified, this will be displayed when user input is awaited.
Link copied to clipboard
interface ConsoleAdapter
Provides an adapter for a console.