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:
Sirz Benjie 2025-05-28 18:03:49 -05:00
parent 8aa363683d
commit 97e19be8d2
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E

View File

@ -5,6 +5,8 @@ import { Phase } from "#app/phase";
* Plays the given {@linkcode MoveAnim} sequentially.
*/
export class MoveAnimPhase<Anim extends MoveAnim> extends Phase {
public readonly phaseName = "MoveAnimPhase";
constructor(
protected anim: Anim,
protected onSubstitute = false,
@ -12,8 +14,6 @@ export class MoveAnimPhase<Anim extends MoveAnim> extends Phase {
super();
}
public readonly phaseName = "MoveAnimPhase";
public override start(): void {
super.start();