2022-08-12 10:50:42 +02:00
|
|
|
local Base = require "framework.modules.world.actors.actor2D"
|
2019-04-07 17:00:47 +02:00
|
|
|
local Parent = Base:extend()
|
|
|
|
|
2019-04-25 17:54:51 +02:00
|
|
|
function Parent:new(world, type, x, y, w, h, isSolid)
|
2019-04-07 17:00:47 +02:00
|
|
|
self.scene = world.scene
|
2019-04-25 17:54:51 +02:00
|
|
|
Parent.super.new(self, world, type, x, y, w, h, isSolid)
|
2019-04-07 17:00:47 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
function Parent:draw()
|
2019-06-23 15:41:30 +02:00
|
|
|
self:drawMainHitbox()
|
2019-04-07 17:00:47 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
return Parent
|