public class CameraChangeMonitorForPlayer extends java.lang.Object implements CameraChangeMonitor
CameraChangeMonitor
implementation,
for use by a JAFramesPlayer
.Constructor and Description |
---|
CameraChangeMonitorForPlayer(CameraAccess access)
Constructs a new change monitor for the enclosing player.
|
Modifier and Type | Method and Description |
---|---|
float[] |
cameraSettings()
Returns the most recently checked camera settings.
|
java.lang.String |
cameraSettingsString()
Returns the string representation for the most recently checked
camera settings.
|
boolean |
checkCameraForChange()
Updates the camera settings if possible, and checks
whether or not they have changed since the previous check,
which cannot happen unless the settings are well-defined on
both occasions.
|
public CameraChangeMonitorForPlayer(CameraAccess access)
public boolean checkCameraForChange()
checkCameraForChange
in interface CameraChangeMonitor
public float[] cameraSettings()
cameraSettings
in interface CameraChangeMonitor
public java.lang.String cameraSettingsString()
cameraSettingsString
in interface CameraChangeMonitor