Package org.rspeer.game.query.scene
Class ProjectileQuery
- java.lang.Object
-
- org.rspeer.game.query.Query<T,Q,SceneNodeQueryResults<T>>
-
- org.rspeer.game.query.scene.SceneNodeQuery<Projectile,ProjectileQuery>
-
- org.rspeer.game.query.scene.ProjectileQuery
-
- All Implemented Interfaces:
Cloneable
,Predicate<Projectile>
,SelfTyped<ProjectileQuery>
,Identifiable.Query<ProjectileQuery>
,Mobile.Query<ProjectileQuery>
,SceneNode.Query<SceneNodeQuery<Projectile,ProjectileQuery>>
public class ProjectileQuery extends SceneNodeQuery<Projectile,ProjectileQuery> implements Identifiable.Query<ProjectileQuery>, Mobile.Query<ProjectileQuery>
-
-
Constructor Summary
Constructors Constructor Description ProjectileQuery(Supplier<List<Projectile>> provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Supplier<List<Projectile>>
getDefaultProvider()
ProjectileQuery
ids(int... ids)
ProjectileQuery
moving()
ProjectileQuery
self()
ProjectileQuery
stationary()
boolean
test(Projectile e)
-
Methods inherited from class org.rspeer.game.query.scene.SceneNodeQuery
distanceEvaluator, nonInstanced, on, positionInteractable, reachable, within, within, within
-
-
-
-
Constructor Detail
-
ProjectileQuery
public ProjectileQuery(Supplier<List<Projectile>> provider)
-
-
Method Detail
-
getDefaultProvider
public Supplier<List<Projectile>> getDefaultProvider()
- Specified by:
getDefaultProvider
in classQuery<Projectile,ProjectileQuery,SceneNodeQueryResults<Projectile>>
-
self
public ProjectileQuery self()
- Specified by:
self
in interfaceSelfTyped<ProjectileQuery>
-
ids
public ProjectileQuery ids(int... ids)
- Specified by:
ids
in interfaceIdentifiable.Query<ProjectileQuery>
-
moving
public ProjectileQuery moving()
- Specified by:
moving
in interfaceMobile.Query<ProjectileQuery>
-
stationary
public ProjectileQuery stationary()
- Specified by:
stationary
in interfaceMobile.Query<ProjectileQuery>
-
test
public boolean test(Projectile e)
- Specified by:
test
in interfacePredicate<Projectile>
- Overrides:
test
in classSceneNodeQuery<Projectile,ProjectileQuery>
-
-