18 lines
331 B
Lua
18 lines
331 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)
|
|
end
|
|
|
|
return Stage
|