sonic-bluestreak/sonic-bluestreak.love/game/modules/world/actors/textured.lua

15 lines
349 B
Lua
Raw Permalink Normal View History

2019-12-28 12:15:43 +01:00
local Base = require "core.modules.world.actors.actor3D"
local Textured = Base:extend()
function Textured:new(world, x, y, z, w, h, d, top, bottom)
Textured.super.new(self, world, "wall", x, y, z, w, h, d, true)
self:setDebugColor(0,0,0)
self.boxes.Textured(self, w, h, d, top, bottom)
end
function Textured:update(dt)
end
return Textured