Switching customizeScene and gameScene to new ResizableScene

This commit is contained in:
David Négrier
2020-10-08 16:00:29 +02:00
parent 66f3345861
commit 386b25afa0
3 changed files with 7 additions and 15 deletions
@@ -250,6 +250,7 @@ export class SelectCharacterScene extends ResizableScene {
this.logo.x = this.game.renderer.width - 30;
this.logo.y = this.game.renderer.height - 20;
this.customizeButton.x = this.game.renderer.width / 2;
this.customizeButtonSelected.x = this.game.renderer.width / 2;
for (let i = 0; i <PLAYER_RESOURCES.length; i++) {
const player = this.players[i];