epervier-old/examples/scenes/gameplay/action3D/actors/box.lua
2020-04-05 18:18:13 +02:00

10 lines
281 B
Lua

local Base = require "birb.modules.world.actors.actor3D"
local Box = Base:extend()
function Box:new(world, x, y, z)
Box.super.new(self, world, "box", x, y, z, 16, 16, 16, true)
self:setDebugColor(0,0,0)
self.boxes.Textured(self, 16, 16, 16, "boxtop", "box")
end
return Box