Merge branch 'master' of https://git.inpt.fr/tobgang/sagittarius
This commit is contained in:
commit
08d0802731
|
@ -32,8 +32,8 @@ public class Arrow extends EntityQuad {
|
|||
private Planet crash;
|
||||
private Vector2 offset;
|
||||
|
||||
private Sound arrowLandedSound = Gdx.audio.newSound(Gdx.files.internal("core/assets/sounds/sf_fleche_plante_01.mp3"));
|
||||
private Sound arrowHitSound = Gdx.audio.newSound(Gdx.files.internal("core/assets/sounds/VOXScrm_Cri wilhelm (ID 0477)_LS.wav"));
|
||||
private Sound arrowLandedSound;
|
||||
private Sound arrowHitSound;
|
||||
private ArrayList<Texture> texture;
|
||||
|
||||
// ---------- CONSTRUCTORs ----------
|
||||
|
@ -55,6 +55,10 @@ public class Arrow extends EntityQuad {
|
|||
this.landed = false;
|
||||
|
||||
if (!preview) {
|
||||
|
||||
arrowLandedSound = Gdx.audio.newSound(Gdx.files.internal("core/assets/sounds/sf_fleche_plante_01.mp3"));
|
||||
arrowHitSound = Gdx.audio.newSound(Gdx.files.internal("core/assets/sounds/VOXScrm_Cri wilhelm (ID 0477)_LS.wav"));
|
||||
|
||||
texture = new ArrayList<>();
|
||||
String path = "core/assets/arrow" + MathUtils.random(2);
|
||||
|
||||
|
|
|
@ -101,11 +101,11 @@ public class SettingsScreen extends BaseScreen {
|
|||
// Table structure
|
||||
table.add(gConstField).width(250);
|
||||
table.row();
|
||||
table.add(disableMusic).width(250);
|
||||
table.add(disableMusic).align(Align.left);
|
||||
table.row();
|
||||
table.add(musicVolume).width(250);
|
||||
table.row();
|
||||
table.add(disableSounds).width(250);
|
||||
table.add(disableSounds).align(Align.left);
|
||||
table.row();
|
||||
table.add(musicSounds).width(250);
|
||||
table.row();
|
||||
|
|
Loading…
Reference in a new issue