epervier-old/examples/scenes/gameplay/action3D/actors/box.lua

11 lines
285 B
Lua
Raw Permalink Normal View History

2022-08-13 12:43:49 +02:00
local Base = require "framework.scenes.world.actors.actor3D"
2019-07-20 16:55:06 +02:00
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