src/battleship/events/FlowEvent.ts
import { Event } from "@robotlegsjs/core";
export class FlowEvent extends Event {
public static SHOW_INTRO_VIEW = "showIntroView";
public static SHOW_GAME_VIEW = "showGameView";
public static SHOW_HOME_VIEW = "showHomeView";
public static SHOW_GAME_OVER_POPUP = "showGameOverPopup";
public static SHOW_YOU_WIN_POPUP = "showYouWinPopup";
public static SHOW_PAUSE_POPUP = "showPausePopup";
constructor(type: string) {
super(type);
}
}