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();
|
|
}
|
|
}
|