aboutsummaryrefslogtreecommitdiffstats
path: root/inc/Monster.inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc/Monster.inc')
-rw-r--r--inc/Monster.inc19
1 files changed, 19 insertions, 0 deletions
diff --git a/inc/Monster.inc b/inc/Monster.inc
new file mode 100644
index 0000000..fbb0fe9
--- /dev/null
+++ b/inc/Monster.inc
@@ -0,0 +1,19 @@
+<?php
+
+class Monster {
+ public $name = "";
+ public $icon = "";
+ public $desc = "";
+ public $hp = 1;
+ public $level = 1;
+
+ function __construct($name, $level, $hp, $icon) {
+ $this->name = $name;
+ $this->level = $level;
+ $this->hp = $hp;
+ $this->icon = $icon;
+
+ }
+}
+
+?>