aboutsummaryrefslogtreecommitdiff
path: root/bin/game/main.lua
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-12-23 14:48:18 +0800
committerchai <chaifix@163.com>2018-12-23 14:48:18 +0800
commit145e0752c702fa354fb78d3f30fa4b8ec44bfe7b (patch)
tree41d02588f510fc4c9ae082fdde7adf71cb041958 /bin/game/main.lua
parentd5bd4d53dfcda03558be24e8c353fc042802c085 (diff)
+ tiledmap
Diffstat (limited to 'bin/game/main.lua')
-rw-r--r--bin/game/main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/game/main.lua b/bin/game/main.lua
index a1794aa..8128bb6 100644
--- a/bin/game/main.lua
+++ b/bin/game/main.lua
@@ -110,8 +110,8 @@ function jin.core.onLoad()
jin.log.info(jin.time.getFPS() .. " fps")
end)
- local xmlParser = jin.utils.xml.newParser()
- local xml = xmlParser:ParseXmlText[[
+ --local xmlParser = jin.utils.xml.newParser()
+ local xml = jin.utils.xml.parseXmlText[[
<test one="two">
<three four="five" four="six"/>
<three>eight</three>