FEATURE: improved the room capacity warning visuals

This commit is contained in:
kharhamel 2021-07-29 18:02:36 +02:00
parent 2a1af2a131
commit 41ac51f291
9 changed files with 74 additions and 74 deletions

View file

@ -1,14 +0,0 @@
export const warningContainerKey = 'warningContainer';
export const warningContainerHtml = 'resources/html/warningContainer.html';
export class WarningContainer extends Phaser.GameObjects.DOMElement {
constructor(scene: Phaser.Scene) {
super(scene, 100, 0);
this.setOrigin(0, 0);
this.createFromCache(warningContainerKey);
this.scene.add.existing(this);
}
}