mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-21 00:52:47 +02:00
* Add hide phases for rogue ability showing * Hide ability bar on game over * Hide ability bar in TurnEndPhase
13 lines
243 B
TypeScript
13 lines
243 B
TypeScript
import { globalScene } from "#app/global-scene";
|
|
import { Phase } from "#app/phase";
|
|
|
|
export class HideAbilityPhase extends Phase {
|
|
start() {
|
|
super.start();
|
|
|
|
globalScene.abilityBar.hide().then(() => {
|
|
this.end();
|
|
});
|
|
}
|
|
}
|