com.jme3.cinematic.events
Class PositionTrack

java.lang.Object
  extended by com.jme3.cinematic.events.AbstractCinematicEvent
      extended by com.jme3.cinematic.events.PositionTrack
All Implemented Interfaces:
CinematicEvent, Savable

Deprecated. use spatial animation instead.

@Deprecated
public class PositionTrack
extends AbstractCinematicEvent


Field Summary
 
Fields inherited from class com.jme3.cinematic.events.AbstractCinematicEvent
initialDuration, listeners, loopMode, playState, resuming, speed, time
 
Constructor Summary
PositionTrack()
          Deprecated.  
PositionTrack(Spatial spatial, Vector3f endPosition)
          Deprecated.  
PositionTrack(Spatial spatial, Vector3f endPosition, float initialDuration)
          Deprecated.  
PositionTrack(Spatial spatial, Vector3f endPosition, float initialDuration, LoopMode loopMode)
          Deprecated.  
PositionTrack(Spatial spatial, Vector3f endPosition, LoopMode loopMode)
          Deprecated.  
 
Method Summary
 void initEvent(Application app, Cinematic cinematic)
          Deprecated. initialize this event (should be called internally only)
 void onPause()
          Deprecated. place here the code you want to execute when the event is paused
 void onPlay()
          Deprecated. Place here the code you want to execute when the event is started
 void onStop()
          Deprecated. Place here the code you want to execute when the event is stoped.
 void onUpdate(float tpf)
          Deprecated. Place here the code you want to execute on update (only called when the event is playing)
 void read(JmeImporter im)
          Deprecated. for serialization only
 void write(JmeExporter ex)
          Deprecated. for serialization only
 
Methods inherited from class com.jme3.cinematic.events.AbstractCinematicEvent
addListener, getDuration, getInitialDuration, getLoopMode, getPlayState, getSpeed, getTime, internalUpdate, pause, play, removeListener, setInitialDuration, setLoopMode, setSpeed, setTime, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PositionTrack

public PositionTrack()
Deprecated. 

PositionTrack

public PositionTrack(Spatial spatial,
                     Vector3f endPosition)
Deprecated. 

PositionTrack

public PositionTrack(Spatial spatial,
                     Vector3f endPosition,
                     float initialDuration,
                     LoopMode loopMode)
Deprecated. 

PositionTrack

public PositionTrack(Spatial spatial,
                     Vector3f endPosition,
                     LoopMode loopMode)
Deprecated. 

PositionTrack

public PositionTrack(Spatial spatial,
                     Vector3f endPosition,
                     float initialDuration)
Deprecated. 
Method Detail

initEvent

public void initEvent(Application app,
                      Cinematic cinematic)
Deprecated. 
Description copied from class: AbstractCinematicEvent
initialize this event (should be called internally only)

Specified by:
initEvent in interface CinematicEvent
Overrides:
initEvent in class AbstractCinematicEvent
Parameters:
app - the application
cinematic - the cinematic

onPlay

public void onPlay()
Deprecated. 
Description copied from class: AbstractCinematicEvent
Place here the code you want to execute when the event is started

Specified by:
onPlay in class AbstractCinematicEvent

onUpdate

public void onUpdate(float tpf)
Deprecated. 
Description copied from class: AbstractCinematicEvent
Place here the code you want to execute on update (only called when the event is playing)

Specified by:
onUpdate in class AbstractCinematicEvent
Parameters:
tpf - time per frame

onStop

public void onStop()
Deprecated. 
Description copied from class: AbstractCinematicEvent
Place here the code you want to execute when the event is stoped.

Specified by:
onStop in class AbstractCinematicEvent

onPause

public void onPause()
Deprecated. 
Description copied from class: AbstractCinematicEvent
place here the code you want to execute when the event is paused

Specified by:
onPause in class AbstractCinematicEvent

write

public void write(JmeExporter ex)
           throws java.io.IOException
Deprecated. 
Description copied from class: AbstractCinematicEvent
for serialization only

Specified by:
write in interface Savable
Overrides:
write in class AbstractCinematicEvent
Parameters:
ex - exporter
Throws:
java.io.IOException

read

public void read(JmeImporter im)
          throws java.io.IOException
Deprecated. 
Description copied from class: AbstractCinematicEvent
for serialization only

Specified by:
read in interface Savable
Overrides:
read in class AbstractCinematicEvent
Parameters:
im - importer
Throws:
java.io.IOException