scenes/levels: use actor2D setFilters
This commit is contained in:
parent
83788cc075
commit
6554c595ac
|
@ -74,12 +74,6 @@ function Entity:purge()
|
|||
self.world:removeActor(self)
|
||||
end
|
||||
|
||||
function Entity:setFilter()
|
||||
self.filter = function(item, other)
|
||||
return nil
|
||||
end
|
||||
end
|
||||
|
||||
function Entity:checkGround(ny)
|
||||
if not (self.grav == 0) then
|
||||
if ny < 0 then self.onGround = true end
|
||||
|
|
Loading…
Reference in New Issue