Class ParallaxLayer

java.lang.Object
com.csse3200.game.rendering.ParallaxLayer

public class ParallaxLayer extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    ParallaxLayer(com.badlogic.gdx.graphics.Texture texture, com.badlogic.gdx.graphics.Camera camera, float factor, float mapWidth, float mapHeight)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    render(com.badlogic.gdx.graphics.g2d.SpriteBatch batch)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ParallaxLayer

      public ParallaxLayer(com.badlogic.gdx.graphics.Texture texture, com.badlogic.gdx.graphics.Camera camera, float factor, float mapWidth, float mapHeight)
  • Method Details

    • render

      public void render(com.badlogic.gdx.graphics.g2d.SpriteBatch batch)