le caca coule au cucu

This commit is contained in:
2024-03-25 16:11:07 +01:00
parent 2cc4a088f0
commit 7ac835e611
7 changed files with 20 additions and 11 deletions

View File

@ -21,8 +21,9 @@ class Game
* @param {Boolean} started
* @param {Number} winner_id
* @param {String} state
* @param {String} gamemode
*/
constructor(client, id, disconnect_handler, goal_handler, finish_handler, winner_id, state, started, finished, players_data, start_timestamp, stop_timestamp)
constructor(client, id, disconnect_handler, goal_handler, finish_handler, winner_id, state, started, finished, players_data, start_timestamp, stop_timestamp, gamemode)
{
/**
* @type {Client}
@ -94,6 +95,11 @@ class Game
)
);
});
/**
* @type {String}
*/
this.gamemode = gamemode;
}
/**