partey_workadventure/back/src/Model/Websocket/MessageUserPosition.ts

12 lines
361 B
TypeScript
Raw Normal View History

import {PointInterface} from "./PointInterface";
export class Point implements PointInterface{
constructor(public x : number, public y : number, public direction : string = "none") {
}
}
export class MessageUserPosition {
constructor(public userId: string, public name: string, public character: string, public position: PointInterface) {
}
2020-04-28 22:31:54 +02:00
}