mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 12:19:02 -06:00
Added the ghost piece to modes that needed them.
This commit is contained in:
parent
cebe57dd1e
commit
956e826bb2
@ -171,6 +171,9 @@ end
|
|||||||
|
|
||||||
function MarathonA1Game:drawGrid()
|
function MarathonA1Game:drawGrid()
|
||||||
self.grid:draw()
|
self.grid:draw()
|
||||||
|
if self.piece ~= nil and self.level < 100 then
|
||||||
|
self:drawGhostPiece(ruleset)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function MarathonA1Game:drawScoringInfo()
|
function MarathonA1Game:drawScoringInfo()
|
||||||
|
@ -346,6 +346,9 @@ function MarathonA3Game:drawGrid()
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
self.grid:draw()
|
self.grid:draw()
|
||||||
|
if self.piece ~= nil and self.level < 100 then
|
||||||
|
self:drawGhostPiece(ruleset)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -141,9 +141,6 @@ end
|
|||||||
|
|
||||||
function SurvivalA1Game:drawGrid()
|
function SurvivalA1Game:drawGrid()
|
||||||
self.grid:draw()
|
self.grid:draw()
|
||||||
if self.piece ~= nil and self.level < 100 then
|
|
||||||
self:drawGhostPiece(ruleset)
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function SurvivalA1Game:drawScoringInfo()
|
function SurvivalA1Game:drawScoringInfo()
|
||||||
|
Loading…
Reference in New Issue
Block a user