Scene.findClosestEntity

Finds the closest entity with the matching tag

  1. Entity findClosestEntity(Entity entity)
  2. Entity findClosestEntity(Entity entity, int tag)
    class Scene
    Entity
    findClosestEntity
    (
    Entity entity
    ,
    int tag
    )

Meta