diff options
author | alexichi <alexbankai96@gmail.com> | 2016-05-01 11:32:08 +0200 |
---|---|---|
committer | alexichi <alexbankai96@gmail.com> | 2016-05-01 11:32:08 +0200 |
commit | 31866085151518f468794dc71b541543e6b2f691 (patch) | |
tree | d73fe26a86db53707dd9c36f73b08ae3875c93e4 /index.xhtml | |
parent | 48ca3e8ee63787d567fd0fe1bcfea7158a6f9596 (diff) | |
download | candybox-31866085151518f468794dc71b541543e6b2f691.tar.gz candybox-31866085151518f468794dc71b541543e6b2f691.tar.bz2 candybox-31866085151518f468794dc71b541543e6b2f691.tar.xz candybox-31866085151518f468794dc71b541543e6b2f691.zip |
add the beginning part of the dungeon
When you have enough money you can buy a ticket and access the dungeon
I made a file monsters.xml . It's a bit like the code with the shop but modified
When you press the button launch in the onglet dungeon , it display "Battle!" in the console
Diffstat (limited to 'index.xhtml')
-rw-r--r-- | index.xhtml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/index.xhtml b/index.xhtml index aa29615..2745c8a 100644 --- a/index.xhtml +++ b/index.xhtml @@ -15,6 +15,8 @@ <script type="text/javascript" charset="utf-8" src="js/guild.js"></script> <script type="text/javascript" charset="utf-8" src="js/shop.js"></script> <script type="text/javascript" charset="utf-8" src="js/gui.js"></script> + <script type="text/javascript" charset="utf-8" src="js/dungeon.js"></script> + </head> <body onload="init()" onhashchange="changeTab()"> <div class="container-fluid"> @@ -69,6 +71,7 @@ <ul class="list-inline"> <li><button class="btn btn-default" type="button" onclick="createGuild()">Miner's guild</button></li> <li><button class="btn btn-default" type="button" onclick="buildShop()">Shop</button></li> + <li><button class="btn btn-default" type="button" onclick="buildDungeon()">Dungeon</button></li> </ul> </div> <div class="tab-pane" id="tab2"> |