mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-18 14:22:19 +02:00
console logs n stuff
This commit is contained in:
parent
93d6375894
commit
2e5cf7dd63
@ -82,6 +82,7 @@ export class EggLapsePhase extends Phase {
|
||||
showSummary() {
|
||||
this.scene.unshiftPhase(new EggSummaryPhase(this.scene, this.eggHatchData));
|
||||
this.end();
|
||||
console.log("end of lapse phase");
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -44,7 +44,10 @@ export class EggSummaryPhase extends Phase {
|
||||
|
||||
end() {
|
||||
this.eggHatchHandler.clear();
|
||||
this.scene.ui.setModeForceTransition(Mode.MESSAGE).then(() => {});
|
||||
this.scene.ui.setModeForceTransition(Mode.MESSAGE).then(() => {
|
||||
console.log("ui transitioned");
|
||||
});
|
||||
console.log("phase ending");
|
||||
this.scene.time.delayedCall(250, () => this.scene.setModifiersVisible(true));
|
||||
super.end();
|
||||
}
|
||||
|
@ -251,6 +251,7 @@ export default class EggSummaryUiHandler extends MessageUiHandler {
|
||||
|
||||
let success = false;
|
||||
const error = false;
|
||||
console.log("processing input" + button);
|
||||
if (button === Button.CANCEL) {
|
||||
const phase = this.scene.getCurrentPhase();
|
||||
if (phase instanceof EggSummaryPhase) {
|
||||
|
Loading…
Reference in New Issue
Block a user