cleaning code
This commit is contained in:
parent
67a277da2d
commit
6bd3a01f5f
3 changed files with 0 additions and 14 deletions
|
|
@ -28,8 +28,6 @@ export interface ClientToServer {
|
|||
gameMove: (up: GameMove) => void;
|
||||
keepalive: () => void;
|
||||
connectedToGame: (gameId: string) => void;
|
||||
// TODO:
|
||||
joinQueueButton: () => void;
|
||||
};
|
||||
|
||||
export interface ServerToClient {
|
||||
|
|
|
|||
|
|
@ -48,9 +48,6 @@ export class StateI {
|
|||
socket.on('enqueue', () => this.enqueueUser(socket));
|
||||
socket.on('dequeue', () => this.dequeueUser(socket));
|
||||
socket.on('debugInfo', () => this.debugSocket(socket));
|
||||
// TODO:
|
||||
socket.on('joinQueueButton', () => this.joinQueueButton(socket));
|
||||
|
||||
socket.on('gameMove', (e) => this.gameMove(socket, e));
|
||||
socket.on('keepalive', () => this.keepAlive(socket));
|
||||
if (socket) {
|
||||
|
|
@ -204,13 +201,6 @@ export class StateI {
|
|||
|
||||
game?.makeMove(socket.authUser.id, update.index);
|
||||
}
|
||||
|
||||
// TODO:
|
||||
private joinQueueButton(socket: SSocket) {
|
||||
void socket;
|
||||
// TODO:
|
||||
this.fastify.log.info('===== JOIN QUEUE BUTTON PRESSED =====');
|
||||
}
|
||||
}
|
||||
|
||||
// this value will be overriten
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue