oops, missed revisions in StateManager
This commit is contained in:
parent
a149938f00
commit
58b8bbc27b
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user