Class GameObjects
- java.lang.Object
-
- org.dreambot.api.methods.interactive.Interactables<GameObject>
-
- org.dreambot.api.methods.interactive.GameObjects
-
public class GameObjects extends Interactables<GameObject>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.Class<?>
CLASS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @NonNull java.util.List<@NonNull GameObject>
all()
static @NonNull java.util.List<@NonNull GameObject>
all(@NonNull java.lang.Integer... ids)
static @NonNull java.util.List<@NonNull GameObject>
all(@NonNull java.lang.String... names)
static @NonNull java.util.List<@NonNull GameObject>
all(@NonNull Filter<GameObject> filter)
static @Nullable GameObject
closest(@NonNull java.lang.Integer... ids)
static @Nullable GameObject
closest(@NonNull java.lang.String... names)
static @Nullable GameObject
closest(@NonNull Filter<GameObject> filter)
static @Nullable GameObject
closest(@NonNull Filter<GameObject> filter, @NonNull Tile toTile)
static @Nullable GameObject[]
getObjectsOnTile(@NonNull Tile tile)
Gets all GameObjects on specified Tilestatic @Nullable GameObject
getTopObjectOnTile(Tile tile)
Gets the top Game Object at specified Tilestatic boolean
isIncludeNullNames()
static void
setIncludeNullNames(boolean includeNullNames)
-
-
-
Method Detail
-
all
public static @NonNull java.util.List<@NonNull GameObject> all()
-
getObjectsOnTile
public static @Nullable GameObject[] getObjectsOnTile(@NonNull Tile tile)
Gets all GameObjects on specified Tile- Parameters:
tile
- Tile to get GameObjects on- Returns:
- Array of GameObjects on Tile
-
getTopObjectOnTile
public static @Nullable GameObject getTopObjectOnTile(Tile tile)
Gets the top Game Object at specified Tile- Parameters:
tile
- Tile to get GameObjects on- Returns:
- Top Game Object on Tile
-
all
public static @NonNull java.util.List<@NonNull GameObject> all(@NonNull java.lang.Integer... ids)
-
all
public static @NonNull java.util.List<@NonNull GameObject> all(@NonNull java.lang.String... names)
-
all
public static @NonNull java.util.List<@NonNull GameObject> all(@NonNull Filter<GameObject> filter)
-
closest
public static @Nullable GameObject closest(@NonNull java.lang.String... names)
-
closest
public static @Nullable GameObject closest(@NonNull java.lang.Integer... ids)
-
closest
public static @Nullable GameObject closest(@NonNull Filter<GameObject> filter)
-
closest
public static @Nullable GameObject closest(@NonNull Filter<GameObject> filter, @NonNull Tile toTile)
-
isIncludeNullNames
public static boolean isIncludeNullNames()
-
setIncludeNullNames
public static void setIncludeNullNames(boolean includeNullNames)
-
-