More default methods for gamemodes provided

This commit is contained in:
Ishaan Bhardwaj 2021-02-01 15:41:43 -05:00
parent 816d27db39
commit 38f3d23b95

View File

@ -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)