make circle room debug friendly
This commit is contained in:
parent
073b0aad44
commit
5cbd3385c8
1 changed files with 7 additions and 0 deletions
|
|
@ -35,11 +35,18 @@ function CircleRoom:update(dt)
|
|||
end
|
||||
end
|
||||
|
||||
if input:pressed('up') then
|
||||
-- debug breakpoint
|
||||
print('break')
|
||||
end
|
||||
|
||||
self.timer:update(dt)
|
||||
end
|
||||
|
||||
function CircleRoom:canvasDraw()
|
||||
CircleRoom.super.canvasDraw(self)
|
||||
love.graphics.setColor(1, 1, 1)
|
||||
love.graphics.print('objects: '..#self.area.game_objects,2,2)
|
||||
end
|
||||
|
||||
return CircleRoom
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue