UNPKG

doggo-quest-logic

Version:

The game logic for the Doggo Quest text-based game sample project

14 lines (13 loc) 437 B
import { CommandContext } from '../../CommandContext'; import { GameObject } from '../GameObject'; import { Room } from '../Room'; import { RoomBase } from '../RoomBase'; export declare class Entryway extends RoomBase { objects: GameObject[]; south: Room; west: Room; up: Room; constructor(); tryGo(direction: string, context: CommandContext): boolean; describe(context: CommandContext): void; }