mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-26 15:57:50 +01:00
some game joining logic
This commit is contained in:
13
server/model/Person.js
Normal file
13
server/model/Person.js
Normal file
@@ -0,0 +1,13 @@
|
||||
class Person {
|
||||
constructor(id, name, userType, gameRole=null, gameRoleDescription=null, assigned=false) {
|
||||
this.id = id;
|
||||
this.socketId = null;
|
||||
this.name = name;
|
||||
this.userType = userType;
|
||||
this.gameRole = gameRole;
|
||||
this.gameRoleDescription = gameRoleDescription;
|
||||
this.assigned = assigned;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Person;
|
||||
Reference in New Issue
Block a user