sonic-radiance/sonic-radiance.love/game/modules/world/actors/wall.lua

11 lines
268 B
Lua
Raw Permalink Normal View History

2019-07-26 19:39:32 +02:00
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
return Wall