This website requires JavaScript.
Explore
Help
Sign In
noby
/
workadventure
Watch
2
Star
2
Fork
0
You've already forked workadventure
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
5a3668a12e
workadventure
/
back
/
src
/
Model
/
Websocket
/
PointInterface.ts
6 lines
111 B
TypeScript
Raw
Normal View
History
Unescape
Escape
Refactor and fix error hydration message socket io - Position message send will be on format : message : userId : user identification roomId: room identification position: position of user in map x: user x position on map y: user y position on map - Create Point object and interface to have position x and y of user in map.
2020-04-04 16:25:03 +02:00
export
interface
PointInterface
{
x
:
number
;
y
:
number
;
Fix Message send to add direction
2020-04-07 21:02:23 +02:00
direction
:
string
;
Refactor and fix error hydration message socket io - Position message send will be on format : message : userId : user identification roomId: room identification position: position of user in map x: user x position on map y: user y position on map - Create Point object and interface to have position x and y of user in map.
2020-04-04 16:25:03 +02:00
toJson
(
)
:
object
;
}
Reference in New Issue
Copy Permalink