mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 15:32:18 +02:00
Move phaseName property declaration before constructor in move anim phase
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
8aa363683d
commit
97e19be8d2
@ -5,6 +5,8 @@ import { Phase } from "#app/phase";
|
|||||||
* Plays the given {@linkcode MoveAnim} sequentially.
|
* Plays the given {@linkcode MoveAnim} sequentially.
|
||||||
*/
|
*/
|
||||||
export class MoveAnimPhase<Anim extends MoveAnim> extends Phase {
|
export class MoveAnimPhase<Anim extends MoveAnim> extends Phase {
|
||||||
|
public readonly phaseName = "MoveAnimPhase";
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
protected anim: Anim,
|
protected anim: Anim,
|
||||||
protected onSubstitute = false,
|
protected onSubstitute = false,
|
||||||
@ -12,8 +14,6 @@ export class MoveAnimPhase<Anim extends MoveAnim> extends Phase {
|
|||||||
super();
|
super();
|
||||||
}
|
}
|
||||||
|
|
||||||
public readonly phaseName = "MoveAnimPhase";
|
|
||||||
|
|
||||||
public override start(): void {
|
public override start(): void {
|
||||||
super.start();
|
super.start();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user