ab798b1c09
Also, refactoring JOIN_ROOM event to add complete position.
8 lines
272 B
TypeScript
8 lines
272 B
TypeScript
import {Point} from "./MessageUserPosition";
|
|
import {PointInterface} from "_Model/Websocket/PointInterface";
|
|
|
|
export class MessageUserJoined {
|
|
constructor(public userId: string, public name: string, public character: string, public position: PointInterface) {
|
|
}
|
|
}
|