de.rico.engine.effect.sound
Interface SoundFileIface

All Known Implementing Classes:
MidiSound, Mp3Sound, SampledSound

public interface SoundFileIface

This interface specifies the methods that are playable sound object classes have to implement to put playing of sounds on a common basis.

Author:
Frank Bruns

Method Summary
 java.lang.String getSoundPath()
          Returns the file path to the sound file.
 boolean isLooped()
          Determines if the sound was specified to be looped.
 void play()
          Starts playing the assigned sound file.
 void stop()
          Stops playing the assigned sound file.
 

Method Detail

isLooped

boolean isLooped()
Determines if the sound was specified to be looped.

Returns:
is looped? --> true=yes, false=no

play

void play()
Starts playing the assigned sound file.


stop

void stop()
Stops playing the assigned sound file.


getSoundPath

java.lang.String getSoundPath()
Returns the file path to the sound file.

Returns:
file path to the sound file