Package org.rspeer.game.query.scene
Class PathingEntityQuery<P extends RSPathingEntity,T extends PathingEntity<P>,Q extends PathingEntityQuery<P,T,Q>>
- java.lang.Object
-
- org.rspeer.game.query.Query<T,Q,SceneNodeQueryResults<T>>
-
- org.rspeer.game.query.scene.SceneNodeQuery<T,Q>
-
- org.rspeer.game.query.scene.PathingEntityQuery<P,T,Q>
-
- All Implemented Interfaces:
Cloneable
,Predicate<T>
,SelfTyped<Q>
,Animable.Query<PathingEntityQuery<P,T,Q>>
,Mobile.Query<PathingEntityQuery<P,T,Q>>
,Nameable.Query<PathingEntityQuery<P,T,Q>>
,SceneNode.Query<SceneNodeQuery<T,Q>>
- Direct Known Subclasses:
NpcQuery
,PlayerQuery
public abstract class PathingEntityQuery<P extends RSPathingEntity,T extends PathingEntity<P>,Q extends PathingEntityQuery<P,T,Q>> extends SceneNodeQuery<T,Q> implements Nameable.Query<PathingEntityQuery<P,T,Q>>, Animable.Query<PathingEntityQuery<P,T,Q>>, Mobile.Query<PathingEntityQuery<P,T,Q>>
-
-
Constructor Summary
Constructors Constructor Description PathingEntityQuery()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Q
acceptPlayerTargeters()
Q
animating()
Q
animations(int... animations)
Q
dialogues(String... dialogues)
Q
health(int minPercent)
Q
health(int minPercent, int maxPercent)
Q
inanimate()
Q
indexes(int... indexes)
Q
moving()
Q
nameContains(String... names)
Q
names(String... names)
Q
stances(int... stances)
Q
stationary()
Q
targeted()
Q
targeted(boolean targeted)
Q
targeters(PathingEntity... targeters)
Q
targeting()
Q
targeting(PathingEntity... targets)
Q
targetless()
boolean
test(T e)
-
Methods inherited from class org.rspeer.game.query.scene.SceneNodeQuery
distanceEvaluator, nonInstanced, on, positionInteractable, reachable, within, within, within
-
Methods inherited from class org.rspeer.game.query.Query
filter, getDefaultProvider, provider, results
-
-
-
-
Method Detail
-
animating
public Q animating()
- Specified by:
animating
in interfaceAnimable.Query<P extends RSPathingEntity>
-
inanimate
public Q inanimate()
- Specified by:
inanimate
in interfaceAnimable.Query<P extends RSPathingEntity>
-
animations
public Q animations(int... animations)
- Specified by:
animations
in interfaceAnimable.Query<P extends RSPathingEntity>
-
health
public Q health(int minPercent, int maxPercent)
-
health
public Q health(int minPercent)
-
names
public Q names(String... names)
- Specified by:
names
in interfaceNameable.Query<P extends RSPathingEntity>
-
nameContains
public Q nameContains(String... names)
- Specified by:
nameContains
in interfaceNameable.Query<P extends RSPathingEntity>
-
stances
public Q stances(int... stances)
-
targeted
public Q targeted(boolean targeted)
-
targeted
public Q targeted()
-
acceptPlayerTargeters
public Q acceptPlayerTargeters()
-
targetless
public Q targetless()
-
targeting
public Q targeting()
-
targeters
public Q targeters(PathingEntity... targeters)
-
targeting
public Q targeting(PathingEntity... targets)
-
indexes
public Q indexes(int... indexes)
-
moving
public Q moving()
- Specified by:
moving
in interfaceMobile.Query<P extends RSPathingEntity>
-
stationary
public Q stationary()
- Specified by:
stationary
in interfaceMobile.Query<P extends RSPathingEntity>
-
test
public boolean test(T e)
- Specified by:
test
in interfacePredicate<P extends RSPathingEntity>
- Overrides:
test
in classSceneNodeQuery<T extends PathingEntity<P>,Q extends PathingEntityQuery<P,T,Q>>
-
-