doggo-quest-logic
Version:
The game logic for the Doggo Quest text-based game sample project
17 lines (16 loc) • 424 B
TypeScript
import { GameRoom } from './GameRoom';
import { Room } from './Room';
export declare class GameWorld {
score: number;
currentRoom: Room;
isChairChewed: boolean;
foundCrumb: boolean;
ateCrumb: boolean;
timeAdvanced: number;
isGameOver: boolean;
constructor();
isCrateOpen: boolean;
rooms: GameRoom[];
getRoom(room: Room): GameRoom | undefined;
reset(): void;
}