make circle room debug friendly

This commit is contained in:
yuki 2025-11-11 04:18:14 -03:00
parent 073b0aad44
commit 5cbd3385c8

View file

@ -35,11 +35,18 @@ function CircleRoom:update(dt)
end end
end end
if input:pressed('up') then
-- debug breakpoint
print('break')
end
self.timer:update(dt) self.timer:update(dt)
end end
function CircleRoom:canvasDraw() function CircleRoom:canvasDraw()
CircleRoom.super.canvasDraw(self) CircleRoom.super.canvasDraw(self)
love.graphics.setColor(1, 1, 1)
love.graphics.print('objects: '..#self.area.game_objects,2,2)
end end
return CircleRoom return CircleRoom