updated game state with death flag to end game
parent
abcce0985c
commit
80a9ec5807
|
@ -31,6 +31,7 @@ class GameState {
|
||||||
tacticsChoiceWhenAttacked: number = 0;
|
tacticsChoiceWhenAttacked: number = 0;
|
||||||
actionChoiceForEachTurn: number = 0;
|
actionChoiceForEachTurn: number = 0;
|
||||||
fortOptionFlag: boolean = false;
|
fortOptionFlag: boolean = false;
|
||||||
|
death: boolean = false;
|
||||||
|
|
||||||
constructor(authorId: string) {
|
constructor(authorId: string) {
|
||||||
// Load existing session for authorId or create default values
|
// Load existing session for authorId or create default values
|
||||||
|
|
Loading…
Reference in New Issue