HumanBreak/src/core/main/game.ts

8 lines
199 B
TypeScript
Raw Normal View History

2023-08-05 12:12:02 +08:00
import { EmitableEvent, EventEmitter } from '../common/eventEmitter';
export interface GameEvent extends EmitableEvent {
reset: () => void;
}
export const hook = new EventEmitter<GameEvent>();