Skip to content
Snippets Groups Projects

Sound: Music is playing, fuiyoh

Merged Gehrung Jonas requested to merge sound into development
27 files
+ 136
25
Compare changes
  • Side-by-side
  • Inline
Files
27
package de.hdm_stuttgart.battlearena.Main;
import de.hdm_stuttgart.battlearena.Model.Sound.SFX;
import de.hdm_stuttgart.battlearena.Model.Sound.SoundManager;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
@@ -27,7 +29,10 @@ public class Main extends Application {
stage.setTitle("BattleArena");
stage.setScene(scene);
SoundManager soundManager = new SoundManager();
//soundManager.playSound();
soundManager.playSoundEffect(SFX.WALKING, true);
soundManager.playSoundEffect(SFX.WALKING, false); //TODO: Soundeffect should stop here, but it doesnot
stage.show();
log.debug("Project started successfully!");
}
Loading