Class OrientationLockScreen
java.lang.Object
nl.colorize.multimedialib.scene.effect.OrientationLockScreen
- All Implemented Interfaces:
Scene
Displays an image and/or message to inform the user to change their device
orientation. This can be used for applications that can only be used in
landscape mode. The scene will automatically end if the device is changed
to landscape orientation.
This class can be used as a standalone scene, meaning that the originally active scene is forcefully interrupted when the device is changed to portait mode. It can also be used as a visual effect, meaning the original scene will continue to play in the background. Which approach should be preferred depends on the type of application.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
update
(SceneContext context, float deltaTime) Called during every frame update for as long as the scene is active.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface nl.colorize.multimedialib.scene.Scene
end, isCompleted, resize, start