Interface ISound

All Superinterfaces:
IAsset, IDisposable

public interface ISound extends IAsset
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ResourceName
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
    isIndexPlaying(int index)
     
    boolean
     
    void
     
    void
    play(float pitch, float volume)
     
    void
    play(float pitch, float volume, boolean loop)
     
    void
    playAt(double x, double y, double z)
     
    void
    playAt(float pitch, float volume, double x, double y, double z)
     
    void
    playAt(float pitch, float volume, double x, double y, double z, boolean loop)
     
    void
    playAt(float pitch, float volume, double x, double y, double z, boolean loop, float rolloffFactor, float refDistance, float maxDistance)
     
    void
     
    void
    stopIndex(int index)
     

    Methods inherited from interface de.ellpeck.rockbottom.api.render.engine.IDisposable

    dispose
  • Field Details

  • Method Details

    • play

      void play()
    • play

      void play(float pitch, float volume)
    • play

      void play(float pitch, float volume, boolean loop)
    • playAt

      void playAt(double x, double y, double z)
    • playAt

      void playAt(float pitch, float volume, double x, double y, double z)
    • playAt

      void playAt(float pitch, float volume, double x, double y, double z, boolean loop)
    • playAt

      void playAt(float pitch, float volume, double x, double y, double z, boolean loop, float rolloffFactor, float refDistance, float maxDistance)
    • isIndexPlaying

      @ApiInternal boolean isIndexPlaying(int index)
    • isPlaying

      boolean isPlaying()
    • stop

      void stop()
    • stopIndex

      @ApiInternal void stopIndex(int index)
    • getPlayingSourceIds

      @ApiInternal Set<Integer> getPlayingSourceIds()