renamed
This commit is contained in:
parent
181232c1e6
commit
606e9093e1
2 changed files with 3 additions and 3 deletions
|
@ -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() {
|
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue