Class LightingSystem
java.lang.Object
com.badlogic.ashley.core.EntitySystem
com.devcharles.piazzapanic.componentsystems.LightingSystem
public class LightingSystem
extends com.badlogic.ashley.core.EntitySystem
-
Field Summary
Modifier and TypeFieldDescriptionprivate com.badlogic.gdx.graphics.OrthographicCamera
private box2dLight.RayHandler
Fields inherited from class com.badlogic.ashley.core.EntitySystem
priority
-
Constructor Summary
ConstructorDescriptionLightingSystem
(box2dLight.RayHandler rayHandler, com.badlogic.gdx.graphics.OrthographicCamera camera) -
Method Summary
Modifier and TypeMethodDescriptionvoid
update
(float deltaTime) The update method called every tick.Methods inherited from class com.badlogic.ashley.core.EntitySystem
addedToEngine, checkProcessing, getEngine, removedFromEngine, setProcessing
-
Field Details
-
rayHandler
private box2dLight.RayHandler rayHandler -
camera
private com.badlogic.gdx.graphics.OrthographicCamera camera
-
-
Constructor Details
-
LightingSystem
public LightingSystem(box2dLight.RayHandler rayHandler, com.badlogic.gdx.graphics.OrthographicCamera camera)
-
-
Method Details
-
update
public void update(float deltaTime) Description copied from class:com.badlogic.ashley.core.EntitySystem
The update method called every tick.- Overrides:
update
in classcom.badlogic.ashley.core.EntitySystem
- Parameters:
deltaTime
- The time passed since last frame in seconds.
-