Class LoopedTrack

java.lang.Object
de.gurkenlabs.litiengine.sound.LoopedTrack
All Implemented Interfaces:
Track, Iterable<Sound>, Iterator<Sound>

public class LoopedTrack extends Object implements Track, Iterator<Sound>
  • Constructor Details

    • LoopedTrack

      public LoopedTrack(String soundName)
      Initializes a new LoopedTrack for the specified sound.
      Parameters:
      soundName - The name of the sound to be played by this track.
    • LoopedTrack

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