mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-15 13:31:40 +00:00
20 lines
319 B
TypeScript
20 lines
319 B
TypeScript
import BattleScene from "./battle-scene";
|
|
|
|
export class Phase {
|
|
protected scene: BattleScene;
|
|
|
|
constructor(scene: BattleScene) {
|
|
this.scene = scene;
|
|
}
|
|
|
|
start() {
|
|
if (this.scene.abilityBar.shown) {
|
|
this.scene.abilityBar.resetAutoHideTimer();
|
|
}
|
|
}
|
|
|
|
end() {
|
|
this.scene.shiftPhase();
|
|
}
|
|
}
|