diff options
Diffstat (limited to 'inc/craftmine.inc')
-rw-r--r-- | inc/craftmine.inc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/inc/craftmine.inc b/inc/craftmine.inc index f5dbbb1..e72db34 100644 --- a/inc/craftmine.inc +++ b/inc/craftmine.inc @@ -1,10 +1,22 @@ <?php +/** + * Sends all data from previous session on page load. + * + * @author Alexandre Renoux + * @author Pierre-Emmanuel Novac + */ require_once("mine.inc"); require_once("shop.inc"); require_once("dungeon.inc"); require_once("perso.inc"); +/** + * Sends all data from previous session on page load. + * All data from the different modules are packed in an array. + * + * @return void + */ function sendCraftMine() { $data = array("gold" => sendMine(), "shop" => sendShop(), |