Package rekit.logic.gameelements
Class FixedCameraTarget
java.lang.Object
rekit.logic.gameelements.FixedCameraTarget
- All Implemented Interfaces:
CameraTarget
This class can be used for set the camera fixed (e.g. for BossRooms etc.)
-
Constructor Summary
Constructors -
Method Summary
-
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 interfaceCameraTarget
- Returns:
- the current camera offset
-