Constructor and Description |
---|
CrossFadingMusicLoop(com.badlogic.gdx.files.FileHandle musicFile,
long crossfadeTime,
long crossfadeDuration,
TimeUnit timeUnit)
Constructor
|
public CrossFadingMusicLoop(com.badlogic.gdx.files.FileHandle musicFile, long crossfadeTime, long crossfadeDuration, TimeUnit timeUnit)
musicFile
- The FileHandle
for the music to be loopedcrossfadeTime
- The time at which the crossfade begins at the end of the tracktimeUnit
- The TimeUnit
for crossfadeTimepublic void play()
public void stop()
public boolean isPlaying()
public void dispose()
public void setVolume(float volume)
Copyright © 2014. All rights reserved.