Also removing dead class

This commit is contained in:
David Négrier 2020-05-24 23:29:51 +02:00
parent 17e7f1b37a
commit 62cb8cca87

View File

@ -87,29 +87,6 @@ export interface ListMessageUserPositionInterface {
listUsersPosition: Array<MessageUserPosition>;
}
class ListMessageUserPosition {
roomId: string;
listUsersPosition: Array<MessageUserPosition>;
constructor(roomId: string, data: any) {
this.roomId = roomId;
this.listUsersPosition = new Array<MessageUserPosition>();
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