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 java.util.List<GameObject>
all()
static java.util.List<GameObject>
all(java.lang.Integer... ids)
static java.util.List<GameObject>
all(java.lang.String... names)
static java.util.List<GameObject>
all(Filter<GameObject> filter)
static GameObject
closest(java.lang.Integer... ids)
static GameObject
closest(java.lang.String... names)
static GameObject
closest(Filter<GameObject> filter)
static GameObject
closest(Filter<GameObject> filter, Tile toTile)
static GameObject[]
getObjectsOnTile(Tile t)
Gets all GameObjects on specified Tilestatic GameObject
getTopObjectOnTile(Tile t)
Gets the top Game Object at specified Tilestatic boolean
isIncludeNullNames()
static void
setIncludeNullNames(boolean includeNullNames)
-
-
-
Method Detail
-
all
public static java.util.List<GameObject> all()
-
getObjectsOnTile
public static GameObject[] getObjectsOnTile(Tile t)
Gets all GameObjects on specified Tile- Parameters:
t
- Tile to get GameObjects on- Returns:
- Array of GameObjects on Tile
-
getTopObjectOnTile
public static GameObject getTopObjectOnTile(Tile t)
Gets the top Game Object at specified Tile- Parameters:
t
- Tile to get GameObjects on- Returns:
- Top Game Object on Tile
-
all
public static java.util.List<GameObject> all(java.lang.Integer... ids)
-
all
public static java.util.List<GameObject> all(java.lang.String... names)
-
all
public static java.util.List<GameObject> all(Filter<GameObject> filter)
-
closest
public static GameObject closest(java.lang.String... names)
-
closest
public static GameObject closest(java.lang.Integer... ids)
-
closest
public static GameObject closest(Filter<GameObject> filter)
-
closest
public static GameObject closest(Filter<GameObject> filter, Tile toTile)
-
isIncludeNullNames
public static boolean isIncludeNullNames()
-
setIncludeNullNames
public static void setIncludeNullNames(boolean includeNullNames)
-
-