fix: replace dying with charge animation

This commit is contained in:
Renge 2022-04-25 21:00:50 -04:00
parent 8e027e694f
commit 76ac59ac9c

View File

@ -14,7 +14,7 @@ export default class Attack extends EnemyState {
this.attacked = this.owner.id+"attacked";
// TODO replace DYING with CHARGING
(<AnimatedSprite>this.owner).animation.play("DYING", false, this.charged);
(<AnimatedSprite>this.owner).animation.play("CHARGE", false, this.charged);
this.receiver.subscribe(this.charged);
this.receiver.subscribe(this.attacked);
}