mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 06:18:44 +00:00
Added tests for sounds and modified the transparency for the chat history window.
#story[1245]
This commit is contained in:
@@ -26,7 +26,9 @@ public class Sounds {
|
||||
}
|
||||
}
|
||||
|
||||
public static void setMutes() {
|
||||
|
||||
|
||||
static void setMutes() {
|
||||
if (soundPlayer != null) {
|
||||
soundPlayer.setMute(soundEffectsMuted);
|
||||
}
|
||||
@@ -49,14 +51,14 @@ public class Sounds {
|
||||
toggleMuteMusic();
|
||||
}
|
||||
|
||||
public static void toggleMuteMusic() {
|
||||
static void toggleMuteMusic() {
|
||||
musicMuted = !musicMuted;
|
||||
if (musicPlayer != null) {
|
||||
musicPlayer.setMute(musicMuted);
|
||||
}
|
||||
}
|
||||
|
||||
public static void toggleMuteEffects() {
|
||||
static void toggleMuteEffects() {
|
||||
soundEffectsMuted = !soundEffectsMuted;
|
||||
if (soundPlayer != null) {
|
||||
soundPlayer.setMute(soundEffectsMuted);
|
||||
@@ -188,5 +190,4 @@ public class Sounds {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user