Add backend

This commit is contained in:
schmelczerandras 2020-10-04 19:05:32 +02:00
commit 0f0a1eaf67

View file

@ -0,0 +1,9 @@
import { Socket } from 'dgram';
export class Player {
constructor(private readonly socket: SocketIO.Socket) {}
public get socketId(): string {
return this.socket.id;
}
}