Package org.rspeer.game.query.scene
Class SceneNodeQuery<T extends SceneNode,Q extends SceneNodeQuery<T,Q>>
- java.lang.Object
-
- org.rspeer.game.query.Query<T,Q,SceneNodeQueryResults<T>>
-
- org.rspeer.game.query.scene.SceneNodeQuery<T,Q>
-
- All Implemented Interfaces:
Cloneable
,Predicate<T>
,SelfTyped<Q>
,SceneNode.Query<SceneNodeQuery<T,Q>>
- Direct Known Subclasses:
EffectObjectQuery
,HintArrowQuery
,PathingEntityQuery
,PickableQuery
,PositionQuery
,ProjectileQuery
,SceneObjectQuery
public abstract class SceneNodeQuery<T extends SceneNode,Q extends SceneNodeQuery<T,Q>> extends Query<T,Q,SceneNodeQueryResults<T>> implements SceneNode.Query<SceneNodeQuery<T,Q>>
-
-
Constructor Summary
Constructors Constructor Description SceneNodeQuery()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Q
distanceEvaluator(DistanceEvaluator distanceEvaluator)
Q
nonInstanced()
Q
on(Position... positions)
Q
positionInteractable()
Q
reachable()
boolean
test(T entity)
Q
within(int distance)
Q
within(SceneNode src, int distance)
Q
within(Area... areas)
-
Methods inherited from class org.rspeer.game.query.Query
filter, getDefaultProvider, provider, results
-
-
-
-
Method Detail
-
on
public Q on(Position... positions)
- Specified by:
on
in interfaceSceneNode.Query<T extends SceneNode>
-
within
public Q within(SceneNode src, int distance)
- Specified by:
within
in interfaceSceneNode.Query<T extends SceneNode>
-
within
public Q within(int distance)
- Specified by:
within
in interfaceSceneNode.Query<T extends SceneNode>
-
nonInstanced
public Q nonInstanced()
-
distanceEvaluator
public Q distanceEvaluator(DistanceEvaluator distanceEvaluator)
- Specified by:
distanceEvaluator
in interfaceSceneNode.Query<T extends SceneNode>
-
positionInteractable
public Q positionInteractable()
-
reachable
public Q reachable()
-
-