Package com.epicbot.api.shared.methods
Interface IObjectsAPI
public interface IObjectsAPI
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Predicate<SceneObject> static final intThe default radius/distance used ingetAll(int, Predicate).static final Predicate<SceneObject> -
Method Summary
Modifier and TypeMethodDescriptiongetAll()Gets all objects in the current scene.getAll(int range, Predicate<SceneObject> filter) Gets all objects within a certain range matching the given filter.getAll(SceneObjectQueryRequest request) getAll(Predicate<SceneObject> filter) Gets all objects matching the given filter.Gets all objects at at the given location.Gets all objects at at the given location.getAt(Locatable locatable, int mask, Predicate<SceneObject> filter) Gets all objects at the given location matching the given filter.getAt(Locatable locatable, Predicate<SceneObject> filter) Gets all objects at the given location matching the given filter.Gets the top object at the given location.getTopAt(Locatable locatable, Predicate<SceneObject> filter) Gets the top object at the given location matching the given filter.query()
-
Field Details
-
ACCEPT_ALL
-
DENY_ALL
-
DEFAULT_QUERY_RADIUS
static final int DEFAULT_QUERY_RADIUSThe default radius/distance used ingetAll(int, Predicate).- See Also:
-
-
Method Details
-
getAll
List<SceneObject> getAll()Gets all objects in the current scene.- Returns:
- list of objects
-
getAll
Gets all objects matching the given filter.- Parameters:
filter- the filter- Returns:
- list of objects
-
getAll
Gets all objects within a certain range matching the given filter.- Parameters:
range- the radius, defaults to 26filter- the filter- Returns:
- list of objects
-
query
SceneObjectQueryBuilder query()
-