mirror of
https://github.com/MartinKral/Slash-The-Hordes
synced 2025-01-14 06:51:30 +00:00
11 lines
409 B
TypeScript
11 lines
409 B
TypeScript
import { ModalWindowManager } from "../../Services/ModalWindowSystem/ModalWindowManager";
|
|
import { MenuModalWindowTypes } from "./MenuModalWindowTypes";
|
|
|
|
export class MenuModalLauncher {
|
|
public constructor(private modalWindowManager: ModalWindowManager) {}
|
|
|
|
public async openUpgradesWindow(): Promise<void> {
|
|
await this.modalWindowManager.showModal(MenuModalWindowTypes.Upgrades, {});
|
|
}
|
|
}
|