2019-05-01 17:20:31 +02:00
|
|
|
local Base = require "gamecore.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()
|
2019-06-23 15:41:30 +02:00
|
|
|
self:drawMainHitbox()
|
2019-05-01 17:20:31 +02:00
|
|
|
utils.graphics.resetColor( )
|
|
|
|
end
|
|
|
|
|
|
|
|
return Wall
|