mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2025-02-26 05:20:58 +00:00
40 lines
No EOL
516 B
JavaScript
40 lines
No EOL
516 B
JavaScript
"use strict";
|
|
|
|
/*
|
|
* Implements Gather Model
|
|
*
|
|
* Gather States
|
|
* - Picking
|
|
* - Election
|
|
* - Selection
|
|
* - Done
|
|
*
|
|
*/
|
|
|
|
var Gatherer = require("./gatherer");
|
|
|
|
function Gather () {
|
|
if (!(this instanceof Gather)) {
|
|
return new Gather();
|
|
}
|
|
|
|
this.gatherers = [];
|
|
}
|
|
|
|
Gather.prototype.addGatherer = function (user) {
|
|
|
|
};
|
|
|
|
Gather.prototype.removeGatherer = function (user) {
|
|
|
|
};
|
|
|
|
Gather.prototype.moveToMarine = function (user) {
|
|
|
|
};
|
|
|
|
Gather.prototype.moveToAlien = function (user) {
|
|
|
|
};
|
|
|
|
module.exports = Gather; |