sonic-radiance/sonic-radiance.love/game/modules/world/actors/wall.lua
Kazhnuz cc6056cce8 fix(wall): make sure that wall aren't updated
It'll avoid them moving because of a collision.
2019-07-27 11:34:23 +02:00

14 lines
299 B
Lua

local Base = require "core.modules.world.actors.actor3D"
local Wall = Base:extend()
function Wall:new(world, x, y, z, w, h, d)
Wall.super.new(self, world, "wall", x, y, z, w, h, d, true)
self:setDebugColor(0,0,0)
self.boxes.Base(self, w, h, d)
end
function Wall:update(dt)
end
return Wall