Class FixedCameraTarget

java.lang.Object
rekit.logic.gameelements.FixedCameraTarget
All Implemented Interfaces:
CameraTarget

public final class FixedCameraTarget extends Object implements CameraTarget
This class can be used for set the camera fixed (e.g. for BossRooms etc.)
  • Constructor Details

    • FixedCameraTarget

      public FixedCameraTarget(float cameraOffset)
      Create by fixed camera offset.
      Parameters:
      cameraOffset - the camera offset
  • Method Details

    • getCameraOffset

      public float getCameraOffset()
      Get the camera offset.
      Specified by:
      getCameraOffset in interface CameraTarget
      Returns:
      the current camera offset