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

15 lines
320 B
Lua
Raw Normal View History

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)
end
function Wall:draw()
self:drawMainHitbox()
utils.graphics.resetColor( )
end
return Wall