ensl_gathers/lib/gather/gatherer.js
2015-07-23 14:36:51 +01:00

23 lines
No EOL
383 B
JavaScript

"use strict";
/*
* Implements Gatherer
*
* Stores necessary information including:
* - user data
* - voting preferences
* - leader status
* - Team: "lobby" "alien" "marine"
*/
var User = require("../user/user");
function Gatherer (user) {
this.votes = {};
this.id = user.id;
this.user = user;
this.captain = false;
this.team = "lobby";
}
module.exports = Gatherer;