19 lines
388 B
Lua
19 lines
388 B
Lua
---@class Stage:Room
|
|
local Stage = Room:extend()
|
|
|
|
function Stage:new()
|
|
Stage.super.new(self)
|
|
self.area:addCollisionManager()
|
|
self.area:addGameObject('Player', gw/2, gh/2)
|
|
end
|
|
|
|
function Stage:update(dt)
|
|
Stage.super.update(self, dt)
|
|
end
|
|
|
|
function Stage:canvasDraw()
|
|
Stage.super.canvasDraw(self)
|
|
if DEBUG then love.graphics.print('DEBUG', 2, 2) end
|
|
end
|
|
|
|
return Stage
|