blob: 5e4cff5b9147b8dd018d965cd3cc8175ee64b653 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
local background = {}
local graphics = require "utils.graphics"
function background.room()
graphics.drawRect(G.currentRoom, "line", true)
end
function background.doors()
for i, door in pairs(G.currentRoom.doors) do
if door ~= nil then
love.graphics.setColor(door.color or {1,1,1})
graphics.drawRect(door)
graphics.reset()
end
end
end
return background
|