GP
Interface Playable

All Known Subinterfaces:
Container, Graphic
All Known Implementing Classes:
TimeManager

public interface Playable

This defines the interface for all objects that can be played.


Method Summary
 double GetCurrentTime()
          This method should get the object's current time
 void Pause()
          This method should tell the object to pause what it is doing.
 void Play()
          This method should tell the object to start playing.
 void Stop()
          This method should tell the object to stop what it is doing.
 

Method Detail

Play

public void Play()
This method should tell the object to start playing.

Pause

public void Pause()
This method should tell the object to pause what it is doing.

Stop

public void Stop()
This method should tell the object to stop what it is doing.

GetCurrentTime

public double GetCurrentTime()
This method should get the object's current time
Returns:
the current time in seconds