Class Camera

java.lang.Object
buildengine.engine.stage.scene.Camera

public class Camera extends Object
Contains position, zoom and roll data for drawing a scene.
  • Constructor Details

    • Camera

      public Camera()
    • Camera

      public Camera(Vector2f position, float zoom, float roll)
  • Method Details

    • getBounds

      public Rectangle getBounds()
    • getPosition

      public Vector2f getPosition()
    • setPosition

      public void setPosition(Vector2f position)
    • getZoom

      public float getZoom()
    • setZoom

      public void setZoom(float zoom)
    • getRoll

      public float getRoll()
    • setRoll

      public void setRoll(float roll)