mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 19:04:49 +00:00
Merge remote-tracking branch 'origin/Development' into Development
This commit is contained in:
@@ -25,7 +25,7 @@ public final class SendChallengeView extends View {
|
|||||||
private final GameInformation.Player playerInformation;
|
private final GameInformation.Player playerInformation;
|
||||||
|
|
||||||
public SendChallengeView(Server server, String opponent, BiConsumer<GameInformation.Player, String> onSend) {
|
public SendChallengeView(Server server, String opponent, BiConsumer<GameInformation.Player, String> onSend) {
|
||||||
super(true, "bg-popup");
|
super(false, "bg-popup");
|
||||||
|
|
||||||
this.server = server;
|
this.server = server;
|
||||||
this.opponent = opponent;
|
this.opponent = opponent;
|
||||||
|
|||||||
@@ -175,7 +175,9 @@ public class MusicManager<T extends AudioResource> implements org.toop.framework
|
|||||||
|
|
||||||
public void previous() {
|
public void previous() {
|
||||||
if (backgroundMusic.isEmpty()) return;
|
if (backgroundMusic.isEmpty()) return;
|
||||||
if (playingIndex == 0) return;
|
if (playingIndex == 0) {
|
||||||
|
playingIndex = backgroundMusic.size();
|
||||||
|
}
|
||||||
stop();
|
stop();
|
||||||
scheduler.shutdownNow();
|
scheduler.shutdownNow();
|
||||||
playingIndex = playingIndex - 1;
|
playingIndex = playingIndex - 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user