UNPKG

@sprucelabs/spruce-cli

Version:

Command line interface for building Spruce skills.

13 lines (12 loc) 425 B
import TerminalInterface from '../interfaces/TerminalInterface'; import { CommandService } from './CommandService'; export default class GameService { private command; private ui; private statusMessage?; private killed; constructor(command: CommandService, ui: TerminalInterface); setStatusMessage(message: string): void; play(introductionSentences?: string[]): Promise<void>; kill(): void; }