deal roles

This commit is contained in:
Alec
2021-11-17 23:19:54 -05:00
parent b85ee7dcfc
commit eb4193fb1b
10 changed files with 166 additions and 23 deletions

View File

@@ -1,11 +1,13 @@
// noinspection DuplicatedCode
class Person {
constructor(id, name, userType, gameRole=null, gameRoleDescription=null, assigned=false) {
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;
}