diff --git a/front/src/Phaser/Game/GameMapPropertyChange.ts b/front/src/Phaser/Game/GameMapPropertiesListener.ts similarity index 98% rename from front/src/Phaser/Game/GameMapPropertyChange.ts rename to front/src/Phaser/Game/GameMapPropertiesListener.ts index 76a7a3d4..db100935 100644 --- a/front/src/Phaser/Game/GameMapPropertyChange.ts +++ b/front/src/Phaser/Game/GameMapPropertiesListener.ts @@ -9,7 +9,7 @@ import { WEBSITE_MESSAGE_PROPERTIES, } from "../../WebRtc/LayoutManager"; -export class GameMapPropertyChange { +export class GameMapPropertiesListener { constructor(private scene: GameScene, private gameMap: GameMap) {} register() { diff --git a/front/src/Phaser/Game/GameScene.ts b/front/src/Phaser/Game/GameScene.ts index d29c5e3c..12063e6c 100644 --- a/front/src/Phaser/Game/GameScene.ts +++ b/front/src/Phaser/Game/GameScene.ts @@ -92,7 +92,7 @@ import Tileset = Phaser.Tilemaps.Tileset; import { userIsAdminStore } from "../../Stores/GameStore"; import { layoutManagerActionStore } from "../../Stores/LayoutManagerStore"; import { EmbeddedWebsiteManager } from "./EmbeddedWebsiteManager"; -import { GameMapPropertyChange } from "./GameMapPropertyChange"; +import { GameMapPropertiesListener } from "./GameMapPropertiesListener"; export interface GameSceneInitInterface { initPosition: PointInterface | null; @@ -581,7 +581,7 @@ export class GameScene extends DirtyScene { this.updateCameraOffset(box) ); - new GameMapPropertyChange(this, this.gameMap).register(); + new GameMapPropertiesListener(this, this.gameMap).register(); this.triggerOnMapLayerPropertyChange(); if (!this.room.isDisconnected()) {