Class IntroTrack

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

public class IntroTrack extends Object implements Track
A Track that plays an intro sound and then loops the specified music sound.
  • Constructor Details

    • IntroTrack

      public IntroTrack(String intro, String loop)
      Initializes a new IntroTrack for the specified sound.
      Parameters:
      intro - The name of the sound to be played as intro.
      loop - The name of the sound to be looped.
    • IntroTrack

      public IntroTrack(Sound intro, String loop)
      Initializes a new IntroTrack for the specified sound.
      Parameters:
      intro - The sound to be played as intro.
      loop - The name of the sound to be looped.
    • IntroTrack

      public IntroTrack(String intro, Sound loop)
      Initializes a new IntroTrack for the specified sound.
      Parameters:
      intro - The name of the sound to be played as intro.
      loop - The sound to be looped.
    • IntroTrack

      public IntroTrack(Sound intro, Sound loop)
      Initializes a new IntroTrack for the specified sound.
      Parameters:
      intro - The sound to be played as intro.
      loop - The sound to be looped.
  • Method Details