ItemCommandInterpreter

Provides an Interpreter for item commands.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val supportedCommands: List<CommandHelp>

Get all of the commands supported by this interpreter.

Functions

Link copied to clipboard
open override fun getContextualCommandHelp(game: Game): List<CommandHelp>

Get the contextual commands for the game based on its current state.

Link copied to clipboard
open override fun interpret(input: String, game: Game): InterpretationResult

Interpret the specified input for a game.