fix(world3D): dont attribute the getVisibleActor() function to baseworld

This commit is contained in:
Kazhnuz 2019-07-12 23:22:03 +02:00
parent 242e916d4b
commit 342d073572

View file

@ -65,7 +65,7 @@ function World3D:getActorsInRect(x, y, w, h)
return self:getShapeInRect(x, y, w, h)
end
function BaseWorld:getVisibleActors(id)
function World3D:getVisibleActors(id)
local actors = {}
if (id ~= nil) then
local camx, camy, camw, camh = self.cameras:getViewCoordinate(id)