com.kitfox.svg.app
Class PlayerThread
java.lang.Object
com.kitfox.svg.app.PlayerThread
- All Implemented Interfaces:
- java.lang.Runnable
public class PlayerThread
- extends java.lang.Object
- implements java.lang.Runnable
- Author:
- kitfox
Constructor Summary |
PlayerThread()
Creates a new instance of PlayerThread |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PS_STOP
public static final int PS_STOP
- See Also:
- Constant Field Values
PS_PLAY_FWD
public static final int PS_PLAY_FWD
- See Also:
- Constant Field Values
PS_PLAY_BACK
public static final int PS_PLAY_BACK
- See Also:
- Constant Field Values
PlayerThread
public PlayerThread()
- Creates a new instance of PlayerThread
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
exit
public void exit()
addListener
public void addListener(PlayerThreadListener listener)
getCurTime
public double getCurTime()
setCurTime
public void setCurTime(double time)
getTimeStep
public double getTimeStep()
setTimeStep
public void setTimeStep(double time)
getPlayState
public int getPlayState()
setPlayState
public void setPlayState(int playState)