2019-04-07 17:00:47 +02:00
|
|
|
local Base = require "gamecore.modules.world.actors.actor2D"
|
|
|
|
local Parent = Base:extend()
|
|
|
|
|
|
|
|
function Parent:new(world, type, x, y, w, h)
|
|
|
|
self.scene = world.scene
|
|
|
|
Parent.super.new(self, world, type, x, y, w, h)
|
|
|
|
end
|
|
|
|
|
|
|
|
function Parent:draw()
|
2019-04-22 12:13:01 +02:00
|
|
|
self:drawHitbox()
|
2019-04-07 17:00:47 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
return Parent
|