parent
4bb305e046
commit
96c774767f
Binary file not shown.
|
Before Width: | Height: | Size: 67 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,15 @@
|
||||
package com.toasted.chuck;
|
||||
|
||||
import com.badlogic.gdx.Gdx;
|
||||
import com.badlogic.gdx.audio.Music;
|
||||
import com.badlogic.gdx.audio.Sound;
|
||||
import com.badlogic.gdx.files.FileHandle;
|
||||
|
||||
public class Audio {
|
||||
public static Sound getSound(String filename){
|
||||
return Gdx.audio.newSound(Gdx.files.internal(filename));
|
||||
}
|
||||
public static Music getMusic(String filename){
|
||||
return Gdx.audio.newMusic(Gdx.files.internal(filename));
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue