Package org.rspeer.game.query.scene
Class PlayerQuery
- 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<RSPlayer,Player,PlayerQuery>
-
- org.rspeer.game.query.scene.PlayerQuery
-
- All Implemented Interfaces:
Cloneable
,Predicate<Player>
,SelfTyped<PlayerQuery>
,Animable.Query<PathingEntityQuery<RSPlayer,Player,PlayerQuery>>
,Mobile.Query<PathingEntityQuery<RSPlayer,Player,PlayerQuery>>
,Nameable.Query<PathingEntityQuery<RSPlayer,Player,PlayerQuery>>
,SceneNode.Query<SceneNodeQuery<Player,PlayerQuery>>
public class PlayerQuery extends PathingEntityQuery<RSPlayer,Player,PlayerQuery>
-
-
Constructor Summary
Constructors Constructor Description PlayerQuery(Supplier<List<Player>> provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Supplier<List<Player>>
getDefaultProvider()
PlayerQuery
indexes(int... indexes)
PlayerQuery
self()
-
Methods inherited from class org.rspeer.game.query.scene.PathingEntityQuery
acceptPlayerTargeters, animating, animations, dialogues, health, health, inanimate, moving, nameContains, names, stances, stationary, targeted, targeted, targeters, targeting, targeting, targetless, test
-
Methods inherited from class org.rspeer.game.query.scene.SceneNodeQuery
distanceEvaluator, nonInstanced, on, positionInteractable, reachable, within, within, within
-
-
-
-
Method Detail
-
getDefaultProvider
public Supplier<List<Player>> getDefaultProvider()
- Specified by:
getDefaultProvider
in classQuery<Player,PlayerQuery,SceneNodeQueryResults<Player>>
-
self
public PlayerQuery self()
-
indexes
public PlayerQuery indexes(int... indexes)
- Overrides:
indexes
in classPathingEntityQuery<RSPlayer,Player,PlayerQuery>
-
-