gestalt.model
Class ModelPlayer
java.lang.Object
gestalt.model.ModelPlayer
public class ModelPlayer
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_FRAMES_PER_SECOND
public static int DEFAULT_FRAMES_PER_SECOND
STOP
public static final int STOP
- See Also:
- Constant Field Values
PAUSE
public static final int PAUSE
- See Also:
- Constant Field Values
PLAY
public static final int PLAY
- See Also:
- Constant Field Values
ModelPlayer
public ModelPlayer(Model theModel)
loop
public void loop(float theDeltaTime)
setLooping
public void setLooping(boolean theLooping)
setDuration
public void setDuration(int theDuration)
getPlayVelocity
public float getPlayVelocity()
setFramesPerSecond
public void setFramesPerSecond(int theFramesPerSecond)
getFramesPerSecond
public int getFramesPerSecond()
play
public void play(float thePlayVelocity)
play
public void play(java.lang.String theAnimation,
float thePlayVelocity)
pause
public void pause()
stop
public void stop()
goToFrame
public void goToFrame(int theFrame)
isDone
public boolean isDone()
howMuchIsAlreadyPlayed
public float howMuchIsAlreadyPlayed()
getCurrentFrame
public int getCurrentFrame()
processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009