mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 10:54:51 +00:00
Made all of the updated classes more generic for better flexibility in unittesting
This commit is contained in:
@@ -10,6 +10,8 @@ import org.toop.framework.networking.NetworkingClientManager;
|
||||
import org.toop.framework.networking.NetworkingInitializationException;
|
||||
import org.toop.framework.resource.ResourceLoader;
|
||||
import org.toop.framework.resource.ResourceManager;
|
||||
import org.toop.framework.resource.resources.MusicAsset;
|
||||
import org.toop.framework.resource.resources.SoundEffectAsset;
|
||||
|
||||
public final class Main {
|
||||
static void main(String[] args) {
|
||||
@@ -23,7 +25,7 @@ public final class Main {
|
||||
new Thread(() -> {
|
||||
AudioEventListener<?, ?> a =
|
||||
new AudioEventListener<>(
|
||||
new MusicManager(),
|
||||
new MusicManager<>(MusicAsset.class),
|
||||
new SoundEffectManager(),
|
||||
new AudioVolumeManager()
|
||||
); a.initListeners();
|
||||
|
||||
Reference in New Issue
Block a user