Renaming biggestAvailableArray to biggestAvailableArea + removing duplicated code.
This commit is contained in:
parent
227575043b
commit
77a4d23301
9 changed files with 45 additions and 91 deletions
|
@ -101,10 +101,6 @@ export class MenuScene extends Phaser.Scene {
|
|||
worldFullWarningStream.stream.subscribe(() => this.showWorldCapacityWarning());
|
||||
}
|
||||
|
||||
public openReport(userId: number, userName: string): void {
|
||||
this.gameReportElement.open(userId, userName);
|
||||
}
|
||||
|
||||
//todo put this method in a parent menuElement class
|
||||
static revealMenusAfterInit(menuElement: Phaser.GameObjects.DOMElement, rootDomId: string) {
|
||||
//Dom elements will appear inside the viewer screen when creating before being moved out of it, which create a flicker effect.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue