Class SinglePlayTrack

java.lang.Object
pi.resources.sound.SinglePlayTrack
All Implemented Interfaces:
Iterable<Sound>, Track

public class SinglePlayTrack extends Object implements Track
A Track that plays a sound once and then stops.
  • Constructor Details

    • SinglePlayTrack

      public SinglePlayTrack(Sound sound)
      Initializes a new SinglePlayTrack for the specified sound.
      Parameters:
      sound - The sound to be played by this track.
  • Method Details