Class LJ_GDX.Music_AG.LIP

java.lang.Object
com.prineside.luaj.mapping.InterfaceProxy
com.prineside.luaj.mapping.parts.LJ_GDX.Music_AG.LIP
All Implemented Interfaces:
com.badlogic.gdx.audio.Music, com.badlogic.gdx.utils.Disposable, com.esotericsoftware.kryo.KryoSerializable
Enclosing class:
LJ_GDX.Music_AG

public static class LJ_GDX.Music_AG.LIP extends InterfaceProxy implements com.badlogic.gdx.audio.Music
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.badlogic.gdx.audio.Music

    com.badlogic.gdx.audio.Music.OnCompletionListener
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Needs to be called when the Music is no longer needed.
    float
    Returns the playback position in seconds.
    float
     
    boolean
     
    boolean
     
    void
    Pauses the play back.
    void
    Starts the play back of the music stream.
    void
    setLooping(boolean p1)
    Sets whether the music stream is looping.
    void
    setOnCompletionListener(com.badlogic.gdx.audio.Music.OnCompletionListener p1)
    Register a callback to be invoked when the end of a music stream has been reached during playback.
    void
    setPan(float p1, float p2)
    Sets the panning and volume of this music stream.
    void
    setPosition(float p1)
    Set the playback position in seconds.
    void
    setVolume(float p1)
    Sets the volume of this music stream.
    void
    Stops a playing or paused Music instance.

    Methods inherited from class com.prineside.luaj.mapping.InterfaceProxy

    getLuaObj, read, write

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • dispose

      public void dispose()
      Description copied from interface: com.badlogic.gdx.audio.Music
      Needs to be called when the Music is no longer needed.
      Specified by:
      dispose in interface com.badlogic.gdx.utils.Disposable
      Specified by:
      dispose in interface com.badlogic.gdx.audio.Music
    • getPosition

      public float getPosition()
      Description copied from interface: com.badlogic.gdx.audio.Music
      Returns the playback position in seconds.
      Specified by:
      getPosition in interface com.badlogic.gdx.audio.Music
    • getVolume

      public float getVolume()
      Specified by:
      getVolume in interface com.badlogic.gdx.audio.Music
      Returns:
      the volume of this music stream.
    • isLooping

      public boolean isLooping()
      Specified by:
      isLooping in interface com.badlogic.gdx.audio.Music
      Returns:
      whether the music stream is playing.
    • isPlaying

      public boolean isPlaying()
      Specified by:
      isPlaying in interface com.badlogic.gdx.audio.Music
      Returns:
      whether this music stream is playing
    • pause

      public void pause()
      Description copied from interface: com.badlogic.gdx.audio.Music
      Pauses the play back. If the music stream has not been started yet or has finished playing a call to this method will be ignored.
      Specified by:
      pause in interface com.badlogic.gdx.audio.Music
    • play

      public void play()
      Description copied from interface: com.badlogic.gdx.audio.Music
      Starts the play back of the music stream. In case the stream was paused this will resume the play back. In case the music stream is finished playing this will restart the play back.
      Specified by:
      play in interface com.badlogic.gdx.audio.Music
    • setLooping

      public void setLooping(boolean p1)
      Description copied from interface: com.badlogic.gdx.audio.Music
      Sets whether the music stream is looping. This can be called at any time, whether the stream is playing.
      Specified by:
      setLooping in interface com.badlogic.gdx.audio.Music
      Parameters:
      p1 - whether to loop the stream
    • setOnCompletionListener

      public void setOnCompletionListener(com.badlogic.gdx.audio.Music.OnCompletionListener p1)
      Description copied from interface: com.badlogic.gdx.audio.Music
      Register a callback to be invoked when the end of a music stream has been reached during playback.
      Specified by:
      setOnCompletionListener in interface com.badlogic.gdx.audio.Music
      Parameters:
      p1 - the callback that will be run.
    • setPan

      public void setPan(float p1, float p2)
      Description copied from interface: com.badlogic.gdx.audio.Music
      Sets the panning and volume of this music stream.
      Specified by:
      setPan in interface com.badlogic.gdx.audio.Music
      Parameters:
      p1 - panning in the range -1 (full left) to 1 (full right). 0 is center position.
      p2 - the volume in the range [0,1].
    • setPosition

      public void setPosition(float p1)
      Description copied from interface: com.badlogic.gdx.audio.Music
      Set the playback position in seconds.
      Specified by:
      setPosition in interface com.badlogic.gdx.audio.Music
    • setVolume

      public void setVolume(float p1)
      Description copied from interface: com.badlogic.gdx.audio.Music
      Sets the volume of this music stream. The volume must be given in the range [0,1] with 0 being silent and 1 being the maximum volume.
      Specified by:
      setVolume in interface com.badlogic.gdx.audio.Music
    • stop

      public void stop()
      Description copied from interface: com.badlogic.gdx.audio.Music
      Stops a playing or paused Music instance. Next time play() is invoked the Music will start from the beginning.
      Specified by:
      stop in interface com.badlogic.gdx.audio.Music