0
0
Fork 0

Add properties for role and team

This commit is contained in:
Oliver-Akins 2021-01-01 16:04:49 -07:00
parent 769078f70b
commit fc298f30d4

View file

@ -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;