epervier-old/examples/gameplay/action3D/actors/wall.lua

10 lines
283 B
Lua

local Base = require "gamecore.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.Mapped(self, x, y, z, w, h, d)
end
return Wall