public interface Sequencable extends Updatable, Renderable
Modifier and Type | Method and Description |
---|---|
void |
addKeyListener(InputDeviceKeyListener listener)
Add a key listener.
|
Config |
getConfig()
Get the configuration.
|
int |
getFps()
Get current frame rate (number of image per second).
|
<T extends InputDevice> |
getInputDevice(Class<T> type)
Get the input device instance from its type.
|
Sequencable |
getNextSequence()
Get the next sequence.
|
void |
onTerminated(boolean hasNextSequence)
Called when sequence is closing.
|
void |
setSystemCursorVisible(boolean visible)
Set the system cursor visibility.
|
void |
start(Screen screen)
Start sequence.
|
render
void start(Screen screen)
screen
- The screen used for the sequence.void addKeyListener(InputDeviceKeyListener listener)
listener
- The listener to add.void setSystemCursorVisible(boolean visible)
visible
- true
if visible, false
else.Config getConfig()
int getFps()
<T extends InputDevice> T getInputDevice(Class<T> type)
T
- The input device.type
- The input device type.LionEngineException
- If device not found.Sequencable getNextSequence()
null
if none.void onTerminated(boolean hasNextSequence)
hasNextSequence
- true
if there is a next sequence, false
else (then application
will end definitely).Copyright © 2017 Byron 3D Games Studio. All rights reserved.