Ajout d'effet sonnore dans le menu principal)
This commit is contained in:
@@ -6,9 +6,9 @@ public enum Sounds {
|
||||
public String getSoundsPath() {
|
||||
switch (this) {
|
||||
case SOUNDS1:
|
||||
return "./ressources/sounds/SFX/1.mp3";
|
||||
return "./ressources/sounds/SFX/1.wav";
|
||||
case SOUNDS2:
|
||||
return "./ressources/sounds/SFX/2.mp3";
|
||||
return "./ressources/sounds/SFX/2.wav";
|
||||
default:
|
||||
throw new IllegalArgumentException("Unexpected value: " + this);
|
||||
}
|
||||
|
Reference in New Issue
Block a user