Skip to content

Instantly share code, notes, and snippets.

@IntegerMan
Created March 8, 2020 22:07
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