Uses of Class
dev.twilite.game.wrapper.SceneObject
Packages that use SceneObject
-
Uses of SceneObject in dev.twilite.game.common
Method parameters in dev.twilite.game.common with type arguments of type SceneObjectModifier and TypeMethodDescriptionbooleanInteractionScope.castSpellOnObject(Spell spell, Function<SceneObjectView, Optional<SceneObject>> query, Coord fallback) Casts a spell on an object, walking tofallbackif the object is not available.booleanInteractionScope.castSpellOnObject(Spell spell, Function<SceneObjectView, Optional<SceneObject>> query, Coord fallback, boolean skipReachableCheck) Casts a spell on an object with optional local reachability checks.booleanInteractionScope.object(Function<SceneObjectView, Optional<SceneObject>> query, Coord fallback, String op) Interacts with an object, walking tofallbackif the object is not available.booleanInteractionScope.object(Function<SceneObjectView, Optional<SceneObject>> query, Coord fallback, String op, boolean skipReachableCheck) Interacts with an object using optional local reachability checks.booleanInteractionScope.object(Function<SceneObjectView, Optional<SceneObject>> query, Coord fallback, String op, boolean skipReachableCheck, int distance) Interacts with an object using optional reachability checks and a custom walk distance.booleanInteractionScope.useItemOnObject(int item, Function<SceneObjectView, Optional<SceneObject>> query, Coord fallback) Uses an inventory item on an object, walking tofallbackif the object is not available.booleanInteractionScope.useItemOnObject(int item, Function<SceneObjectView, Optional<SceneObject>> query, Coord fallback, boolean skipReachableCheck) Uses an inventory item on an object with optional local reachability checks. -
Uses of SceneObject in dev.twilite.game.stream
Method parameters in dev.twilite.game.stream with type arguments of type SceneObjectModifier and TypeMethodDescriptionSceneObjectView.filter(Predicate<SceneObject> filter) Returns a new scene-object view with an additional filter.SceneObjectView.or(Predicate<SceneObject> filter) Returns a new scene-object view with the supplied filter OR'ed with the most recent filter.Constructor parameters in dev.twilite.game.stream with type arguments of type SceneObjectModifierConstructorDescriptionSceneObjectView(Supplier<Stream<SceneObject>> source) Creates a scene-object view backed by a stream supplier.