Class ParallaxLayer

java.lang.Object
rekit.logic.gui.parallax.ParallaxLayer
Direct Known Subclasses:
HeapLayer, TriangulationLayer

public abstract class ParallaxLayer extends Object
  • Field Details

    • perspectiveZ

      protected float perspectiveZ
    • generateUntil

      protected float generateUntil
    • scene

      protected IScene scene
    • currentlyGeneratedUntil

      protected float currentlyGeneratedUntil
    • x

      protected float x
  • Constructor Details

    • ParallaxLayer

      public ParallaxLayer(float perspectiveZ)
  • Method Details

    • logicLoop

      public void logicLoop(float currentOffset)
    • render

      public void render(GameGrid f)
    • fieldXtoLayerX

      protected float fieldXtoLayerX(float fieldX)
    • setScene

      public void setScene(IScene scene)