mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 15:03:24 +02:00
Merge branch 'beta' into egg-move-scripts
This commit is contained in:
commit
6297b09ace
@ -5,8 +5,10 @@
|
||||
*/
|
||||
|
||||
// Colors used in prod
|
||||
/** Color used for "Start Phase <Phase>" logs */
|
||||
export const PHASE_START_COLOR = "green" as const;
|
||||
export const MOVE_COLOR = "RebeccaPurple" as const;
|
||||
/** Color used for logs in `MovePhase` */
|
||||
export const MOVE_COLOR = "orchid" as const;
|
||||
|
||||
// Colors used for testing code
|
||||
export const NEW_TURN_COLOR = "#ffad00ff" as const;
|
||||
|
@ -1,3 +1,4 @@
|
||||
import { PHASE_START_COLOR } from "#app/constants/colors";
|
||||
import { globalScene } from "#app/global-scene";
|
||||
import type { Phase } from "#app/phase";
|
||||
import { type PhasePriorityQueue, PostSummonPhasePriorityQueue } from "#data/phase-priority-queue";
|
||||
@ -392,7 +393,7 @@ export class PhaseManager {
|
||||
* Helper method to start and log the current phase.
|
||||
*/
|
||||
private startCurrentPhase(): void {
|
||||
console.log(`%cStart Phase ${this.currentPhase.phaseName}`, "color:${PHASE_START_COLOR};");
|
||||
console.log(`%cStart Phase ${this.currentPhase.phaseName}`, `color:${PHASE_START_COLOR};`);
|
||||
this.currentPhase.start();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user