fix(world3D): dont attribute the getVisibleActor() function to baseworld
This commit is contained in:
parent
242e916d4b
commit
342d073572
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ function World3D:getActorsInRect(x, y, w, h)
|
||||||
return self:getShapeInRect(x, y, w, h)
|
return self:getShapeInRect(x, y, w, h)
|
||||||
end
|
end
|
||||||
|
|
||||||
function BaseWorld:getVisibleActors(id)
|
function World3D:getVisibleActors(id)
|
||||||
local actors = {}
|
local actors = {}
|
||||||
if (id ~= nil) then
|
if (id ~= nil) then
|
||||||
local camx, camy, camw, camh = self.cameras:getViewCoordinate(id)
|
local camx, camy, camw, camh = self.cameras:getViewCoordinate(id)
|
||||||
|
|
Loading…
Reference in a new issue