HumanBreak/src/core/main/game.ts
2023-08-05 12:22:24 +08:00

8 lines
199 B
TypeScript

import { EmitableEvent, EventEmitter } from '../common/eventEmitter';
export interface GameEvent extends EmitableEvent {
reset: () => void;
}
export const hook = new EventEmitter<GameEvent>();