2019-04-01 13:12:06 +02:00
|
|
|
local Base = require "gamecore.modules.world.actors.actor2D"
|
|
|
|
local Parent = Base:extend()
|
|
|
|
|
2019-04-07 13:47:37 +02:00
|
|
|
function Parent:new(world, type, x, y, w, h)
|
|
|
|
self.scene = world.scene
|
|
|
|
Parent.super.new(self, world, type, x, y, w, h)
|
2019-04-01 13:12:06 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
function Parent:update(dt)
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
function Parent:draw()
|
|
|
|
love.graphics.rectangle("fill", self.x, self.y, self.w, self.h)
|
|
|
|
end
|
|
|
|
|
|
|
|
return Parent
|