Add properties for role and team
This commit is contained in:
parent
769078f70b
commit
fc298f30d4
1 changed files with 2 additions and 0 deletions
|
|
@ -2,6 +2,8 @@ import { Socket } from "socket.io";
|
|||
|
||||
export class Player {
|
||||
readonly name: string;
|
||||
public team: team|null = null;
|
||||
public role: role|null = null;
|
||||
public socket: Socket;
|
||||
readonly isHost: boolean;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue