update pos

This commit is contained in:
fabske0 2025-08-31 17:17:25 +02:00
parent 320641eaa2
commit 2a5e66d85f

View File

@ -185,6 +185,7 @@ export class EnemyBattleInfo extends BattleInfo {
this.hpBar.x += 38 * (boss ? -1 : 1);
this.hpBar.y += 2 * (this.boss ? -1 : 1);
this.hpBar.setTexture(`overlay_hp${boss ? "_boss" : ""}`);
this.levelContainer.x += 2 * (boss ? -1 : 1);
this.box.setTexture(this.getTextureName());
this.statsBox.setTexture(`${this.getTextureName()}_stats`);
}