public class PlayerThread extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
static int |
PS_PLAY_BACK |
static int |
PS_PLAY_FWD |
static int |
PS_STOP |
Constructor and Description |
---|
PlayerThread()
Creates a new instance of PlayerThread
|
Modifier and Type | Method and Description |
---|---|
void |
addListener(PlayerThreadListener listener) |
void |
exit() |
double |
getCurTime() |
int |
getPlayState() |
double |
getTimeStep() |
void |
run() |
void |
setCurTime(double time) |
void |
setPlayState(int playState) |
void |
setTimeStep(double time) |
public static final int PS_STOP
public static final int PS_PLAY_FWD
public static final int PS_PLAY_BACK
public PlayerThread()
public void exit()
public void addListener(PlayerThreadListener listener)
public double getCurTime()
public void setCurTime(double time)
public double getTimeStep()
public void setTimeStep(double time)
public int getPlayState()
public void setPlayState(int playState)
Copyright ?? 2011-2013 Kitfox Studios. All Rights Reserved.