player ca

Player.static.sounds = {
switchFail = love.audio.newSource(sounds/switch_fail.wav),
switchSuccess = love.audio.newSource(sounds/switch_success.wav)

}
This commit is contained in:
0x81c 2015-03-15 08:00:59 -04:00
parent 85dd66b1e4
commit ffa35aec89
6 changed files with 46 additions and 22 deletions

View file

@ -42,7 +42,6 @@ end
function Door:setColors(colors)
local offColors = {}
for color, off in pairs(colors) do
print(color, active)
if off then
if self.colors[color] then self.colors[color] = false end
table.insert(offColors, color)