pokerogue/src/phase.ts

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