Fix CI
This commit is contained in:
parent
bac1e804ad
commit
aba3322188
3 changed files with 5 additions and 2 deletions
|
@ -119,6 +119,9 @@ export class Connexion {
|
|||
* @param y
|
||||
*/
|
||||
sharePosition(roomId : string, x : number, y : number){
|
||||
if(!this.socket){
|
||||
return;
|
||||
}
|
||||
let messageUserPosition = new MessageUserPosition(this.email, roomId, new Point(x, y));
|
||||
this.socket.emit('user-position', messageUserPosition.toString());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue