Pauser, game modal launcher

This commit is contained in:
Martin
2022-11-25 12:00:09 +01:00
parent 43953f18a9
commit 4ca44647d6
18 changed files with 163 additions and 58 deletions

View File

@@ -0,0 +1,15 @@
export class Pauser {
private isPaused = false;
public get IsPaused(): boolean {
return this.isPaused;
}
public pause(): void {
this.isPaused = true;
}
public resume(): void {
this.isPaused = false;
}
}