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