initial
This commit is contained in:
12
src/entities/AnticipationFront.ts
Normal file
12
src/entities/AnticipationFront.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import {Spine} from "pixi-spine";
|
||||
import {Assets} from "pixi.js";
|
||||
import AnticipationFrame from "./AnticipationFrame";
|
||||
|
||||
|
||||
export default class AnticipationFront extends AnticipationFrame {
|
||||
public override create() {
|
||||
this.spine = new Spine(Assets.get("anticipation_front").spineData);
|
||||
this.addChild(this.spine);
|
||||
this.spine.autoUpdate = false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user