From 62cb8cca87ee1143c2d1e5ddb212ca99e2e14bce Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20N=C3=A9grier?= Date: Sun, 24 May 2020 23:29:51 +0200 Subject: [PATCH] Also removing dead class --- front/src/Connection.ts | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/front/src/Connection.ts b/front/src/Connection.ts index 99ff7bc..fc8fa1e 100644 --- a/front/src/Connection.ts +++ b/front/src/Connection.ts @@ -87,29 +87,6 @@ export interface ListMessageUserPositionInterface { listUsersPosition: Array; } -class ListMessageUserPosition { - roomId: string; - listUsersPosition: Array; - - constructor(roomId: string, data: any) { - this.roomId = roomId; - this.listUsersPosition = new Array(); - data.forEach((userPosition: any) => { - this.listUsersPosition.push(new MessageUserPosition( - userPosition.userId, - new Point( - userPosition.position.x, - userPosition.position.y, - userPosition.position.direction, - userPosition.position.moving - ), - userPosition.name, - userPosition.character - )); - }); - } -} - export interface PositionInterface { x: number, y: number -- 2.25.1