issue #1425: update lua script

This commit is contained in:
mustime 2012-08-31 18:25:28 +08:00
parent 1092d04b7c
commit 680e189365
1 changed files with 4 additions and 4 deletions

View File

@ -16,18 +16,18 @@ local function backAction()
SceneIdx = SceneIdx + MAX_LAYER
end
return CreateActionsEaseleLayer()
return CreateActionsEaseLayer()
end
local function restartAction()
return CreateActionsEaseleLayer()
return CreateActionsEaseLayer()
end
local function nextAction()
SceneIdx = SceneIdx + 1
SceneIdx = math.mod(SceneIdx, MAX_LAYER)
return CreateActionsEaseleLayer()
return CreateActionsEaseLayer()
end
local function backCallback(sender)
@ -700,7 +700,7 @@ end
-----------------------------------
-- Actions Ease Test
-----------------------------------
function CreateActionsEaseleLayer()
function CreateActionsEaseLayer()
if SceneIdx == 0 then
return SpriteEase()
elseif SceneIdx == 1 then