mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 10:54:51 +00:00
Removed no more needed code.
This commit is contained in:
@@ -21,8 +21,6 @@ public class SoundEffectManager implements org.toop.framework.audio.interfaces.S
|
||||
private final HashMap<String, SoundEffectAsset> soundEffectResources;
|
||||
|
||||
public SoundEffectManager(){
|
||||
MusicAsset[] abcd = {};
|
||||
new MusicManager<>(Arrays.stream(abcd).toList(), new JavaFXDispatcher());
|
||||
// If there are duplicates, takes discards the first
|
||||
soundEffectResources = ResourceManager.getAllOfType(SoundEffectAsset.class).stream()
|
||||
.collect(Collectors.toMap(ResourceMeta::getName, ResourceMeta::getResource, (a, b) -> b, HashMap::new));
|
||||
|
||||
Reference in New Issue
Block a user