2019-06-30 17:10:16 +02:00
|
|
|
local Base = require "gamecore.modules.world.actors.actor3D"
|
|
|
|
local Parent = Base:extend()
|
|
|
|
|
|
|
|
function Parent:new(world, type, x, y, z, w, h, d, isSolid)
|
|
|
|
self.scene = world.scene
|
|
|
|
Parent.super.new(self, world, type, x, y, z, w, h, d, isSolid)
|
|
|
|
end
|
|
|
|
|
|
|
|
function Parent:draw()
|
2019-06-30 22:04:01 +02:00
|
|
|
Parent.super.draw(self)
|
2019-06-30 17:10:16 +02:00
|
|
|
self:drawMainHitbox()
|
|
|
|
end
|
|
|
|
|
|
|
|
return Parent
|