pokerogue/src/phase.ts

17 lines
298 B
TypeScript
Raw Normal View History

2023-03-28 19:54:52 +01:00
import BattleScene from "./battle-scene";
export class Phase {
2023-03-28 19:54:52 +01:00
protected scene: BattleScene;
constructor(scene: BattleScene) {
this.scene = scene;
}
start() {
2023-12-30 23:41:25 +00:00
console.log(`%cStart Phase ${this.constructor.name}`, 'color:green;');
2023-03-28 19:54:52 +01:00
}
end() {
this.scene.shiftPhase();
}
}