mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-26 07:47:50 +01:00
deal roles
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user