UNPKG

doggo-quest-logic

Version:

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

13 lines (12 loc) 418 B
import { CommandContext } from '../../CommandContext'; import { GameObject } from '../GameObject'; import { Room } from '../Room'; import { RoomBase } from '../RoomBase'; export declare class Crate extends RoomBase { objects: GameObject[]; north: Room; out: Room; tryGo(direction: string, context: CommandContext): boolean; constructor(); describe(context: CommandContext): void; }