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