mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-24 07:23:24 +02:00
update pos
This commit is contained in:
parent
320641eaa2
commit
2a5e66d85f
@ -185,6 +185,7 @@ export class EnemyBattleInfo extends BattleInfo {
|
|||||||
this.hpBar.x += 38 * (boss ? -1 : 1);
|
this.hpBar.x += 38 * (boss ? -1 : 1);
|
||||||
this.hpBar.y += 2 * (this.boss ? -1 : 1);
|
this.hpBar.y += 2 * (this.boss ? -1 : 1);
|
||||||
this.hpBar.setTexture(`overlay_hp${boss ? "_boss" : ""}`);
|
this.hpBar.setTexture(`overlay_hp${boss ? "_boss" : ""}`);
|
||||||
|
this.levelContainer.x += 2 * (boss ? -1 : 1);
|
||||||
this.box.setTexture(this.getTextureName());
|
this.box.setTexture(this.getTextureName());
|
||||||
this.statsBox.setTexture(`${this.getTextureName()}_stats`);
|
this.statsBox.setTexture(`${this.getTextureName()}_stats`);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user