Class GameObjects

    • Field Detail

      • CLASS

        public static java.lang.Class<?> CLASS
    • 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)
      • closest

        public static @Nullable GameObject closest​(@NonNull java.lang.String... names)
      • closest

        public static @Nullable GameObject closest​(@NonNull java.lang.Integer... ids)
      • isIncludeNullNames

        public static boolean isIncludeNullNames()
      • setIncludeNullNames

        public static void setIncludeNullNames​(boolean includeNullNames)