mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-26 01:19:03 -06:00
More default methods for gamemodes provided
This commit is contained in:
parent
816d27db39
commit
38f3d23b95
@ -593,6 +593,14 @@ function GameMode:setHoldOpacity()
|
|||||||
love.graphics.setColor(colour, colour, colour, 1)
|
love.graphics.setColor(colour, colour, colour, 1)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function GameMode:getBackground()
|
||||||
|
return 0
|
||||||
|
end
|
||||||
|
|
||||||
|
function GameMode:drawGrid()
|
||||||
|
self.grid:draw()
|
||||||
|
end
|
||||||
|
|
||||||
function GameMode:drawScoringInfo()
|
function GameMode:drawScoringInfo()
|
||||||
love.graphics.setColor(1, 1, 1, 1)
|
love.graphics.setColor(1, 1, 1, 1)
|
||||||
love.graphics.setFont(font_3x5_2)
|
love.graphics.setFont(font_3x5_2)
|
||||||
|
Loading…
Reference in New Issue
Block a user