oops, missed revisions in StateManager

This commit is contained in:
Kistaro Windrider 2025-02-23 22:21:10 -08:00
parent a149938f00
commit 58b8bbc27b
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -15,15 +15,22 @@ const N_TURNS: number = 9;
export class StateManager {
#turn: number;
#revision: number;
constructor() {
this.#turn = 1;
this.#revision = 1;
}
getTurn(): number {
return this.#turn;
}
nextRevision(): number {
this.#revision++;
return this.#revision;
}
startFirstGame() {
getVNModal().play([
...openingScene,