mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-29 10:16:14 +00:00
17 lines
298 B
TypeScript
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();
|
|
}
|
|
} |