renamed
This commit is contained in:
parent
181232c1e6
commit
606e9093e1
@ -9,7 +9,7 @@ import {
|
|||||||
WEBSITE_MESSAGE_PROPERTIES,
|
WEBSITE_MESSAGE_PROPERTIES,
|
||||||
} from "../../WebRtc/LayoutManager";
|
} from "../../WebRtc/LayoutManager";
|
||||||
|
|
||||||
export class GameMapPropertyChange {
|
export class GameMapPropertiesListener {
|
||||||
constructor(private scene: GameScene, private gameMap: GameMap) {}
|
constructor(private scene: GameScene, private gameMap: GameMap) {}
|
||||||
|
|
||||||
register() {
|
register() {
|
@ -92,7 +92,7 @@ import Tileset = Phaser.Tilemaps.Tileset;
|
|||||||
import { userIsAdminStore } from "../../Stores/GameStore";
|
import { userIsAdminStore } from "../../Stores/GameStore";
|
||||||
import { layoutManagerActionStore } from "../../Stores/LayoutManagerStore";
|
import { layoutManagerActionStore } from "../../Stores/LayoutManagerStore";
|
||||||
import { EmbeddedWebsiteManager } from "./EmbeddedWebsiteManager";
|
import { EmbeddedWebsiteManager } from "./EmbeddedWebsiteManager";
|
||||||
import { GameMapPropertyChange } from "./GameMapPropertyChange";
|
import { GameMapPropertiesListener } from "./GameMapPropertiesListener";
|
||||||
|
|
||||||
export interface GameSceneInitInterface {
|
export interface GameSceneInitInterface {
|
||||||
initPosition: PointInterface | null;
|
initPosition: PointInterface | null;
|
||||||
@ -581,7 +581,7 @@ export class GameScene extends DirtyScene {
|
|||||||
this.updateCameraOffset(box)
|
this.updateCameraOffset(box)
|
||||||
);
|
);
|
||||||
|
|
||||||
new GameMapPropertyChange(this, this.gameMap).register();
|
new GameMapPropertiesListener(this, this.gameMap).register();
|
||||||
this.triggerOnMapLayerPropertyChange();
|
this.triggerOnMapLayerPropertyChange();
|
||||||
|
|
||||||
if (!this.room.isDisconnected()) {
|
if (!this.room.isDisconnected()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user