Commit 19715838 authored by 18신대성's avatar 18신대성 Committed by 16이지혜

시즌 3호 머지

parent 583d044d
...@@ -72,7 +72,8 @@ WordSpace.wordCycle = ...@@ -72,7 +72,8 @@ WordSpace.wordCycle =
delay: _delay, delay: _delay,
callback: function() callback: function()
{ {
WordSpace.generateWord(this, '통관'); let wordIdx = Math.floor(Math.random() * WordSpace.wordCycle.wordList.length);
WordSpace.generateWord(this, WordSpace.wordCycle.wordList[wordIdx]);
}, },
callbackScope: scene, callbackScope: scene,
loop: true loop: true
...@@ -85,7 +86,11 @@ WordSpace.wordCycle = ...@@ -85,7 +86,11 @@ WordSpace.wordCycle =
{ {
this.currentCycle = scene.time.addEvent(option); this.currentCycle = scene.time.addEvent(option);
} }
} },
wordList: // 미개한 버전, 심심해서 만들어봄
[
'솽젠커', '통관', '맥주땡겨', '자료구조', '팡광우럮다'
]
} }
WordSpace.loadImage = function(scene) WordSpace.loadImage = function(scene)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment