mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2025-02-27 14:01:06 +00:00
22 lines
No EOL
331 B
JavaScript
22 lines
No EOL
331 B
JavaScript
"use strict";
|
|
|
|
/*
|
|
* Implements Gatherer
|
|
*
|
|
* Stores necessary information including:
|
|
* - user data
|
|
* - voting preferences
|
|
* - leader status
|
|
*
|
|
*/
|
|
|
|
var User = require("../user/user");
|
|
|
|
function Gatherer (user) {
|
|
this.votes = {};
|
|
this.id = user.id;
|
|
this.captain = false;
|
|
this.team = "lobby";
|
|
}
|
|
|
|
module.exports = Gatherer; |