@Deprecated public class GuiTrack extends AbstractCinematicEvent
Modifier and Type | Field and Description |
---|---|
protected de.lessvoid.nifty.Nifty |
nifty
Deprecated.
|
protected java.lang.String |
screen
Deprecated.
|
initialDuration, listeners, loopMode, playState, resuming, speed, time
Constructor and Description |
---|
GuiTrack()
Deprecated.
|
GuiTrack(de.lessvoid.nifty.Nifty nifty,
java.lang.String screen)
Deprecated.
|
GuiTrack(de.lessvoid.nifty.Nifty nifty,
java.lang.String screen,
float initialDuration)
Deprecated.
|
GuiTrack(de.lessvoid.nifty.Nifty nifty,
java.lang.String screen,
float initialDuration,
LoopMode loopMode)
Deprecated.
|
GuiTrack(de.lessvoid.nifty.Nifty nifty,
java.lang.String screen,
LoopMode loopMode)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
onPause()
Deprecated.
Implement this method with code that you want to execute when the event is paused.
|
void |
onPlay()
Deprecated.
Implement this method with code that you want to execute when the event is started.
|
void |
onStop()
Deprecated.
Implement this method with code that you want to execute when the event is stopped.
|
void |
onUpdate(float tpf)
Deprecated.
Implement this method with the code that you want to execute on update
(only called when the event is playing).
|
void |
read(JmeImporter im)
Deprecated.
Used for serialization only.
|
void |
setNifty(de.lessvoid.nifty.Nifty nifty)
Deprecated.
|
void |
setScreen(java.lang.String screen)
Deprecated.
|
void |
write(JmeExporter ex)
Deprecated.
Used for serialization only.
|
addListener, dispose, forceStop, getDuration, getInitialDuration, getLoopMode, getPlayState, getSpeed, getTime, initEvent, internalUpdate, pause, play, removeListener, setInitialDuration, setLoopMode, setSpeed, setTime, stop
protected java.lang.String screen
protected de.lessvoid.nifty.Nifty nifty
public GuiTrack()
public GuiTrack(de.lessvoid.nifty.Nifty nifty, java.lang.String screen)
public GuiTrack(de.lessvoid.nifty.Nifty nifty, java.lang.String screen, float initialDuration)
public GuiTrack(de.lessvoid.nifty.Nifty nifty, java.lang.String screen, LoopMode loopMode)
public GuiTrack(de.lessvoid.nifty.Nifty nifty, java.lang.String screen, float initialDuration, LoopMode loopMode)
public void onPlay()
AbstractCinematicEvent
onPlay
in class AbstractCinematicEvent
public void onStop()
AbstractCinematicEvent
onStop
in class AbstractCinematicEvent
public void onPause()
AbstractCinematicEvent
onPause
in class AbstractCinematicEvent
public void setNifty(de.lessvoid.nifty.Nifty nifty)
public void setScreen(java.lang.String screen)
public void onUpdate(float tpf)
AbstractCinematicEvent
onUpdate
in class AbstractCinematicEvent
tpf
- time per framepublic void write(JmeExporter ex) throws java.io.IOException
AbstractCinematicEvent
write
in interface Savable
write
in class AbstractCinematicEvent
ex
- exporterjava.io.IOException
public void read(JmeImporter im) throws java.io.IOException
AbstractCinematicEvent
read
in interface Savable
read
in class AbstractCinematicEvent
im
- importerjava.io.IOException