summaryrefslogtreecommitdiff
path: root/src/entities/hp_bar.js
diff options
context:
space:
mode:
authorniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2024-12-26 14:24:53 +0100
committerniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2024-12-26 14:24:53 +0100
commit474a7253b6b67e2ed33936f6b633587d5d304b66 (patch)
tree456b9cef3cb59da8e0eb575b9425a1fedfe67e1e /src/entities/hp_bar.js
parent1fc522bc8c4a96858223e597ced8fea94ba57874 (diff)
hello kitty stage 1 and 2 done
Diffstat (limited to 'src/entities/hp_bar.js')
-rw-r--r--src/entities/hp_bar.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entities/hp_bar.js b/src/entities/hp_bar.js
index d6e68bb..a5e5f50 100644
--- a/src/entities/hp_bar.js
+++ b/src/entities/hp_bar.js
@@ -14,6 +14,7 @@ export class HPBar extends Entity {
pixelated: true,
})
+ this.span.style.zIndex = 1
this.lasthp = enemy.hp
}