Files
Werewolf/server/model/Game.js
2022-01-11 20:36:10 -05:00

17 lines
467 B
JavaScript

class Game {
constructor (accessCode, status, people, deck, hasTimer, moderator, timerParams = null) {
this.accessCode = accessCode;
this.status = status;
this.moderator = moderator;
this.people = people;
this.deck = deck;
this.hasTimer = hasTimer;
this.timerParams = timerParams;
this.isFull = false;
this.timeRemaining = null;
this.spectators = [];
}
}
module.exports = Game;