Package gaiasky.scene.component
Class Focus
java.lang.Object
gaiasky.scene.component.Focus
- All Implemented Interfaces:
com.badlogic.ashley.core.Component
-
Field Summary
Modifier and TypeFieldDescriptionFunctions.Function3<FocusActive,
com.badlogic.ashley.core.Entity, Base, Boolean> Consumer that returns whether the focus is active or not.Consumers.Consumer9<FocusHit,
FocusView, Integer, Integer, Integer, Integer, Integer, NaturalCamera, com.badlogic.gdx.utils.Array<com.badlogic.ashley.core.Entity>> Consumer that computes whether the focus is hit by the given screen coordinates.Consumers.Consumer6<FocusHit,
FocusView, Vector3d, Vector3d, NaturalCamera, com.badlogic.gdx.utils.Array<com.badlogic.ashley.core.Entity>> Consumer that computes whether the focus is hit by a ray. -
Constructor Summary
-
Method Summary
-
Field Details
-
activeFunction
Consumer that returns whether the focus is active or not. -
hitRayConsumer
public Consumers.Consumer6<FocusHit,FocusView, hitRayConsumerVector3d, Vector3d, NaturalCamera, com.badlogic.gdx.utils.Array<com.badlogic.ashley.core.Entity>> Consumer that computes whether the focus is hit by a ray. -
hitCoordinatesConsumer
public Consumers.Consumer9<FocusHit,FocusView, hitCoordinatesConsumerInteger, Integer, Integer, Integer, Integer, NaturalCamera, com.badlogic.gdx.utils.Array<com.badlogic.ashley.core.Entity>> Consumer that computes whether the focus is hit by the given screen coordinates.
-
-
Constructor Details
-
Focus
public Focus()
-