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

12 lines
402 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", public moving : boolean = false) {
}
}
export class MessageUserPosition {
constructor(public userId: number, public name: string, public characterLayers: string[], public position: PointInterface) {
}
2020-04-28 22:31:54 +02:00
}