14 lines
309 B
Lua
14 lines
309 B
Lua
local Base = require "framework.modules.world.actors.actor2D"
|
|
local Wall = Base:extend()
|
|
|
|
function Wall:new(world, x, y, w, h)
|
|
Wall.super.new(self, world, "wall", x, y, w, h, true)
|
|
self:setDebugColor(0,0,0)
|
|
end
|
|
|
|
function Wall:draw()
|
|
self:drawMainHitbox()
|
|
utils.graphics.resetColor( )
|
|
end
|
|
|
|
return Wall
|