mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-17 01:37:36 +00:00
Minor changes to menu controls
This commit is contained in:
parent
cbbb8e972b
commit
729b70c6a6
@ -904,7 +904,9 @@ export default class BattleScene extends Phaser.Scene {
|
|||||||
case Mode.GAME_MODE_SELECT:
|
case Mode.GAME_MODE_SELECT:
|
||||||
this.ui.setOverlayMode(Mode.MENU);
|
this.ui.setOverlayMode(Mode.MENU);
|
||||||
break;
|
break;
|
||||||
|
case Mode.MENU:
|
||||||
case Mode.SETTINGS:
|
case Mode.SETTINGS:
|
||||||
|
case Mode.ACHIEVEMENTS:
|
||||||
this.ui.revertMode();
|
this.ui.revertMode();
|
||||||
this.playSound('select');
|
this.playSound('select');
|
||||||
break;
|
break;
|
||||||
|
@ -53,11 +53,6 @@ const noTransitionModes = [
|
|||||||
Mode.SETTINGS
|
Mode.SETTINGS
|
||||||
];
|
];
|
||||||
|
|
||||||
const menuModes = [
|
|
||||||
Mode.MENU,
|
|
||||||
Mode.SETTINGS
|
|
||||||
];
|
|
||||||
|
|
||||||
export default class UI extends Phaser.GameObjects.Container {
|
export default class UI extends Phaser.GameObjects.Container {
|
||||||
private mode: Mode;
|
private mode: Mode;
|
||||||
private modeChain: Mode[];
|
private modeChain: Mode[];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user