表现修改一下
This commit is contained in:
parent
240517e04e
commit
4bf948f670
@ -1058,7 +1058,7 @@ function BattleController:fillBoard(isRoundBeginCheck)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
self.battleUI:fallGrid(pathMap, function()
|
self.battleUI:fallGrid(pathMap, isRoundBeginCheck, function()
|
||||||
self:onFillBoardOver(isRoundBeginCheck)
|
self:onFillBoardOver(isRoundBeginCheck)
|
||||||
self.battleUI:enableUITouch()
|
self.battleUI:enableUITouch()
|
||||||
end)
|
end)
|
||||||
|
|||||||
@ -1120,8 +1120,12 @@ function BattleUI:removeGridOutOfScreen(posIdList)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function BattleUI:fallGrid(listInfo, callback)
|
function BattleUI:fallGrid(listInfo, isRoundBeginCheck, callback)
|
||||||
self:showMask(false)
|
if isRoundBeginCheck then
|
||||||
|
self:showMask(false)
|
||||||
|
else
|
||||||
|
self.boardMask:getTransform():SetAsLastSibling()
|
||||||
|
end
|
||||||
self.fallAniCount = 0
|
self.fallAniCount = 0
|
||||||
for posId, info in pairs(listInfo) do
|
for posId, info in pairs(listInfo) do
|
||||||
self.fallAniCount = self.fallAniCount + 1
|
self.fallAniCount = self.fallAniCount + 1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user