diff --git a/main.lua b/main.lua index 11f6e89..8147762 100644 --- a/main.lua +++ b/main.lua @@ -68,6 +68,10 @@ function love.update(dt) if current_room then current_room:update(dt) end input:update(dt) if input:pressed('f1') then gotoRoom('CircleRoom') end + if input:pressed('up') then + -- debug breakpoint + print('break') + end if input:pressed('f3') then camera:shake(4, 60, 1) end if input:pressed('f12') then print("-------------------------------------") diff --git a/rooms/CircleRoom.lua b/rooms/CircleRoom.lua index 48b3254..a4588e7 100644 --- a/rooms/CircleRoom.lua +++ b/rooms/CircleRoom.lua @@ -35,11 +35,6 @@ function CircleRoom:update(dt) end end - if input:pressed('up') then - -- debug breakpoint - print('break') - end - self.timer:update(dt) end