first step in simplification: remove the concept of room in the front end

This commit is contained in:
kharhamel 2020-04-27 15:03:05 +02:00
parent 8bd4e81f48
commit ee4a59578a
5 changed files with 27 additions and 48 deletions

View file

@ -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);
}
}