draw_debug_definitions = function() for k,def in pairs(Definitions) do App.color{r=1, g=0, b=0} -- love.graphics.rectangle('line', vx(def.x-20), vy(def.y-20), scale(620), scale(30)) love.graphics.rectangle('line', vx(def.x-20), vy(def.y-20), scale(def.w+20), scale(def.h+60)) end for _,cand in ipairs(Spawn_candidates) do App.color{r=0.4, g=0.8, b=0.4} love.graphics.rectangle('line', vx(cand.x), vy(cand.y), scale(800), scale(140)) love.graphics.print(cand.name, vx(cand.x), vy(cand.y)) end end