mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-27 00:07:50 +01:00
17 lines
489 B
JavaScript
17 lines
489 B
JavaScript
// noinspection DuplicatedCode
|
|
class Person {
|
|
constructor(id, name, userType, gameRole=null, gameRoleDescription=null, alignment=null, assigned=false) {
|
|
this.id = id;
|
|
this.socketId = null;
|
|
this.name = name;
|
|
this.userType = userType;
|
|
this.gameRole = gameRole;
|
|
this.gameRoleDescription = gameRoleDescription;
|
|
this.alignment = alignment;
|
|
this.assigned = assigned;
|
|
this.out = false;
|
|
}
|
|
}
|
|
|
|
module.exports = Person;
|