aboutsummaryrefslogtreecommitdiffstats
path: root/js/perso.js
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2016-05-07 13:48:28 +0200
committerpiernov <piernov@piernov.org>2016-05-07 13:48:28 +0200
commitb91588134f3067c2771011c10af77cda5f9031e8 (patch)
treea8e5f1bde0bfe9539bb5dd29e249ee8c6b1f36d6 /js/perso.js
parent8621eae6aa5fcdba0a60f0a5f1136412c61999ec (diff)
parent80f5826d1ac8f6d42866d5133c6f463943b96bab (diff)
downloadcandybox-b91588134f3067c2771011c10af77cda5f9031e8.tar.gz
candybox-b91588134f3067c2771011c10af77cda5f9031e8.tar.bz2
candybox-b91588134f3067c2771011c10af77cda5f9031e8.tar.xz
candybox-b91588134f3067c2771011c10af77cda5f9031e8.zip
Merge branch 'alexichi' into feat/gui
Diffstat (limited to 'js/perso.js')
-rw-r--r--js/perso.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/perso.js b/js/perso.js
new file mode 100644
index 0000000..365cf54
--- /dev/null
+++ b/js/perso.js
@@ -0,0 +1,5 @@
+function displayPerso(hp,xp,lv){
+ document.getElementById("hp").innerHTML = hp;
+ document.getElementById("lv").innerHTML = lv;
+ document.getElementById("xp").innerHTML = xp;
+}