---@class Stage:Room local Stage = Room:extend() function Stage:new() Stage.super.new(self) self.timer = Timer() end function Stage:update(dt) Stage.super.update(self, dt) if input:pressed('action') then local latest_object = self.area:addGameObject('Circle', love.math.random(1, 800), love.math.random(1, 600)) end if input:pressed('right') then for _, game_object in ipairs(self.area.game_objects) do game_object:kill() end end end function Stage:draw() Stage.super.draw(self) end return Stage