pokerogue/src/phase.ts
2024-02-22 00:00:51 -05:00

17 lines
298 B
TypeScript

import BattleScene from "./battle-scene";
export class Phase {
protected scene: BattleScene;
constructor(scene: BattleScene) {
this.scene = scene;
}
start() {
console.log(`%cStart Phase ${this.constructor.name}`, 'color:green;');
}
end() {
this.scene.shiftPhase();
}
}