Working on Sound.java, all audio files loaded as audioClips - commit (1/2)
This commit is contained in:
parent
3d032be305
commit
e945557753
@ -8,7 +8,7 @@ plugins {
|
||||
|
||||
javafx {
|
||||
version = "11.0.2"
|
||||
modules = ['javafx.controls', 'javafx.fxml', 'javafx.base', 'javafx.graphics']
|
||||
modules = ['javafx.controls', 'javafx.fxml', 'javafx.base', 'javafx.graphics', 'javafx.media']
|
||||
}
|
||||
|
||||
group 'ch.unibas.dmi.dbis'
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
package ch.unibas.dmi.dbis.cs108.multiplayer.client.gui;
|
||||
|
||||
import ch.unibas.dmi.dbis.cs108.BudaLogConfig;
|
||||
import ch.unibas.dmi.dbis.cs108.multiplayer.client.Sound;
|
||||
import ch.unibas.dmi.dbis.cs108.multiplayer.client.gui.ChatApp;
|
||||
import javafx.application.Application;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
@ -42,6 +43,7 @@ public class GUI implements Runnable {
|
||||
public void run() {
|
||||
LOGGER.info("here");
|
||||
//Application.launch(this.chatApp.getClass());
|
||||
Sound.startPlayingBackgroundSounds();
|
||||
Application.launch(this.chatApp.getClass());
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user