epervier-old/examples/gameplay/moveplayer3D/actors/parent.lua

14 lines
314 B
Lua
Raw Normal View History

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()
self:drawMainHitbox()
end
return Parent