Class LocatableEntityQueryRequest<T extends LocatableEntity>

java.lang.Object
com.epicbot.api.shared.query.request.QueryRequest<T>
com.epicbot.api.shared.query.request.LocatableEntityQueryRequest<T>
Direct Known Subclasses:
ActorQueryRequest, GraphicsObjectQueryRequest, GroundItemQueryRequest, ProjectileQueryRequest, SceneObjectQueryRequest

public abstract class LocatableEntityQueryRequest<T extends LocatableEntity> extends QueryRequest<T>
  • Constructor Details

    • LocatableEntityQueryRequest

      public LocatableEntityQueryRequest(APIContext ctx, int distance)
  • Method Details

    • accepts

      public boolean accepts(T obj)
      Overrides:
      accepts in class QueryRequest<T extends LocatableEntity>
    • accepts

      public boolean accepts(int x, int y, int plane)
    • setDistance

      public void setDistance(double distance)
    • located

      public void located(Locatable... locatables)
    • notLocated

      public void notLocated(Locatable... locatables)
    • within

      public void within(Area... areas)
    • notWithin

      public void notWithin(Area... areas)
    • getDistance

      public int getDistance()
    • getLocated

      public List<Locatable> getLocated()
    • getNotLocated

      public List<Locatable> getNotLocated()
    • getWithin

      public List<Area> getWithin()
    • getNotWithin

      public List<Area> getNotWithin()
    • getLocalPlayerLocation

      public Tile getLocalPlayerLocation()
    • getEntityLocation

      public Tile getEntityLocation(T entity)
    • getEntityLocation

      public Tile getEntityLocation(Locatable other)