first step in simplification: remove the concept of room in the front end
This commit is contained in:
parent
8bd4e81f48
commit
ee4a59578a
5 changed files with 27 additions and 48 deletions
|
@ -95,7 +95,7 @@ export class Player extends PlayableCaracter implements CurrentGamerInterface, G
|
|||
|
||||
private sharePosition(direction: string) {
|
||||
if (ConnexionInstance) {
|
||||
ConnexionInstance.sharePosition((this.scene as GameSceneInterface).RoomId, this.x, this.y, direction);
|
||||
ConnexionInstance.sharePosition(this.x, this.y, direction);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue