mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-26 15:57:50 +01:00
restart functionality
This commit is contained in:
@@ -1,5 +1,15 @@
|
||||
class Game {
|
||||
constructor (accessCode, status, people, deck, hasTimer, moderator, hasDedicatedModerator, timerParams = null) {
|
||||
constructor (
|
||||
accessCode,
|
||||
status,
|
||||
people,
|
||||
deck,
|
||||
hasTimer,
|
||||
moderator,
|
||||
hasDedicatedModerator,
|
||||
originalModeratorId,
|
||||
timerParams = null
|
||||
) {
|
||||
this.accessCode = accessCode;
|
||||
this.status = status;
|
||||
this.moderator = moderator;
|
||||
@@ -7,6 +17,7 @@ class Game {
|
||||
this.deck = deck;
|
||||
this.hasTimer = hasTimer;
|
||||
this.hasDedicatedModerator = hasDedicatedModerator;
|
||||
this.originalModeratorId = originalModeratorId;
|
||||
this.timerParams = timerParams;
|
||||
this.isFull = false;
|
||||
this.timeRemaining = null;
|
||||
|
||||
Reference in New Issue
Block a user