aboutsummaryrefslogtreecommitdiffstats
path: root/inc/dungeon.inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc/dungeon.inc')
-rw-r--r--inc/dungeon.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/inc/dungeon.inc b/inc/dungeon.inc
index 8c26c92..81e2ba7 100644
--- a/inc/dungeon.inc
+++ b/inc/dungeon.inc
@@ -24,6 +24,12 @@ function initDungeon() {
$_SESSION["dungeon"] = true;
}
+function sendDungeon() {
+ if(!empty($_SESSION["dungeon"]))
+ return generateMonster();
+ else return false;
+}
+
function buildDungeon() {
$dungeon=generateMonster();
if(!empty($_SESSION["dungeon"])) {