From: David NĂ©grier Date: Sun, 24 May 2020 21:29:51 +0000 (+0200) Subject: Also removing dead class X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=62cb8cca87ee1143c2d1e5ddb212ca99e2e14bce;p=libreadventure.git Also removing dead class --- 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