epervier-old/examples/scenes/gameplay/moveplayer/actors/parent.lua
2020-04-05 18:18:13 +02:00

13 lines
298 B
Lua

local Base = require "birb.modules.world.actors.actor2D"
local Parent = Base:extend()
function Parent:new(world, type, x, y, w, h, isSolid)
self.scene = world.scene
Parent.super.new(self, world, type, x, y, w, h, isSolid)
end
function Parent:draw()
self:drawMainHitbox()
end
return Parent