Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import {CommandContext} from '../CommandContext';
export type ContextAction = (context: CommandContext) => void;
export type ObjectResponse = ContextAction | string;
export interface GameObject {
name: ObjectResponse;
look: ObjectResponse;
smell: ObjectResponse;
lick?: ObjectResponse;
push?: ObjectResponse;
eat?: ObjectResponse;
take?: ObjectResponse;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.