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

    Fields
    Modifier and Type
    Field
    Description
    private com.badlogic.gdx.graphics.OrthographicCamera
     
    private box2dLight.RayHandler
     

    Fields inherited from class com.badlogic.ashley.core.EntitySystem

    priority
  • Constructor Summary

    Constructors
    Constructor
    Description
    LightingSystem(box2dLight.RayHandler rayHandler, com.badlogic.gdx.graphics.OrthographicCamera camera)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    update(float deltaTime)
    The update method called every tick.

    Methods inherited from class com.badlogic.ashley.core.EntitySystem

    addedToEngine, checkProcessing, getEngine, removedFromEngine, setProcessing

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 class com.badlogic.ashley.core.EntitySystem
      Parameters:
      deltaTime - The time passed since last frame in seconds.