2021-08-15 16:26:05 +02:00
|
|
|
local Parent = require "scenes.menus.mainmenu.infopanel.parent"
|
2020-08-02 08:30:19 +02:00
|
|
|
local GamePanel = Parent:extend()
|
|
|
|
|
|
|
|
function GamePanel:new()
|
|
|
|
GamePanel.super.new(self)
|
|
|
|
end
|
|
|
|
|
|
|
|
function GamePanel:drawContent(x, y)
|
2021-04-23 10:58:04 +02:00
|
|
|
local debugString = "# DEBUG - Save data" .. "\n"
|
2020-08-02 09:59:47 +02:00
|
|
|
debugString = debugString .. "Current slot: " .. game.slot .. " / " .. game.slotNumber .. "\n"
|
2020-08-02 15:56:36 +02:00
|
|
|
debugString = debugString .. "Rings: " .. game.loot.rings .. "\n"
|
2020-08-02 08:30:19 +02:00
|
|
|
debugString = debugString .. "Gametime: " .. game:getTimeString() .. "\n"
|
|
|
|
|
|
|
|
love.graphics.print(debugString, x, y)
|
|
|
|
end
|
|
|
|
|
|
|
|
return GamePanel
|