<!DOCTYPE html> <html lang="en"> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/> <meta charset="utf-8"/> <title> » \inc\dungeon.inc </title> <meta name="author" content=""/> <meta name="description" content=""/> <link href="../css/template.css" rel="stylesheet" media="all"/> <!--[if lt IE 9]> <script src="https://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script> <![endif]--> <script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script> <script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script> <script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script> <script src="../js/bootstrap.js" type="text/javascript"></script> <script src="../js/template.js" type="text/javascript"></script> <script src="../js/prettify/prettify.min.js" type="text/javascript"></script> <link rel="shortcut icon" href="../img/favicon.ico"/> <link rel="apple-touch-icon" href="../img/apple-touch-icon.png"/> <link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png"/> <link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png"/> </head> <body> <div class="navbar navbar-fixed-top"> <div class="navbar-inner"> <div class="container"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <a class="brand" href="../index.html">API Documentation</a> <div class="nav-collapse"> <ul class="nav"> <li class="dropdown"> <a href="#api" class="dropdown-toggle" data-toggle="dropdown"> API Documentation <b class="caret"></b> </a> <ul class="dropdown-menu"> </ul> </li> <li class="dropdown" id="charts-menu"> <a href="#charts" class="dropdown-toggle" data-toggle="dropdown"> Charts <b class="caret"></b> </a> <ul class="dropdown-menu"> <li> <a href="../graph_class.html"> <i class="icon-list-alt"></i> Class hierarchy diagram </a> </li> </ul> </li> <li class="dropdown" id="reports-menu"> <a href="#reports" class="dropdown-toggle" data-toggle="dropdown"> Reports <b class="caret"></b> </a> <ul class="dropdown-menu"> <li> <a href="../errors.html"> <i class="icon-list-alt"></i> Errors </a> </li> <li> <a href="../markers.html"> <i class="icon-list-alt"></i> Markers </a> </li> <li> <a href="../deprecated.html"> <i class="icon-list-alt"></i> Deprecated </a> </li> </ul> </li> </ul> </div> </div> </div> <div class="go_to_top"> <a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a> </div> </div> <div id="___" class="container"> <noscript> <div class="alert alert-warning"> Javascript is disabled; several features are only available if Javascript is enabled. </div> </noscript> <div class="row"> <div class="span4"> <div class="btn-group view pull-right" data-toggle="buttons-radio"> <button class="btn details" title="Show descriptions and method names"> <i class="icon-list"></i></button><button class="btn simple" title="Show only method names"> <i class="icon-align-justify"></i> </button> </div> <ul class="side-nav nav nav-list"> <li class="nav-header"> <i class="icon-map-marker"></i> Packages </li> <a href="../packages/inc.dungeon.inc.html" title="dungeon.inc"> <i class="icon-th"></i> dungeon.inc </a> <ul class="nav nav-list nav-packages"> </ul> </ul> </div> <div class="span8 package-contents"> <ul class="breadcrumb"> <li><a href="../index.html"><i class="icon-th"></i></a></li> <li> <span class="divider">\</span><a href="../packages/inc.html">inc</a> </li> <li> <span class="divider">\</span><a href="../packages/inc.dungeon.inc.html">dungeon.inc</a> </li> </ul> <div class="package-indent"> <h3><i class="icon-custom icon-function"></i> Functions</h3> <div id="generateMonster" class="element ajax clickable function"> <h1>generateMonster<a href="../namespaces/default.html#function_generateMonster">¶</a></h1> <p class="short_description">Loads all the dungeon's monsters from the XML file data/monsters.xml.</p> <div class="details collapse"></div> <a href="../namespaces/default.html#function_generateMonster" class="more">« More »</a> </div> <div id="initDungeon" class="element ajax clickable function"> <h1>initDungeon<a href="../namespaces/default.html#function_initDungeon">¶</a></h1> <p class="short_description">Marks the dungeon as accessible in the session.</p> <div class="details collapse"></div> <a href="../namespaces/default.html#function_initDungeon" class="more">« More »</a> </div> <div id="sendDungeon" class="element ajax clickable function"> <h1>sendDungeon<a href="../namespaces/default.html#function_sendDungeon">¶</a></h1> <p class="short_description">Returns the dungeon array if it was created.</p> <div class="details collapse"></div> <a href="../namespaces/default.html#function_sendDungeon" class="more">« More »</a> </div> <div id="buildDungeon" class="element ajax clickable function"> <h1>buildDungeon<a href="../namespaces/default.html#function_buildDungeon">¶</a></h1> <p class="short_description">Allows acces to the dungeon in the session and sends it to the client.</p> <div class="details collapse">Debits the dungeon's ticket cost from the player's gold.</div> <a href="../namespaces/default.html#function_buildDungeon" class="more">« More »</a> </div> <div id="launchDungeon" class="element ajax clickable function"> <h1>launchDungeon<a href="../namespaces/default.html#function_launchDungeon">¶</a></h1> <p class="short_description">Sends monsters for a specific floor as specified by the floor POST parameter to the client.</p> <div class="details collapse"></div> <a href="../namespaces/default.html#function_launchDungeon" class="more">« More »</a> </div> <div id="sendDungeonProgress" class="element ajax clickable function"> <h1>sendDungeonProgress<a href="../namespaces/default.html#function_sendDungeonProgress">¶</a></h1> <p class="short_description">Updates floor and monster number from the POST parameters in the session.</p> <div class="details collapse"></div> <a href="../namespaces/default.html#function_sendDungeonProgress" class="more">« More »</a> </div> <div id="exitDungeon" class="element ajax clickable function"> <h1>exitDungeon<a href="../namespaces/default.html#function_exitDungeon">¶</a></h1> <p class="short_description">Marks the dungeon as not accessible in the session.</p> <div class="details collapse"></div> <a href="../namespaces/default.html#function_exitDungeon" class="more">« More »</a> </div> </div> </div> </div> </div> <footer class="span12"> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br/> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and<br/> generated on Tue, 10 May 2016 23:11:53 +0200.<br/> </footer> </body> </html>