mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-21 20:18:06 +07:00
Sprite changes
This commit is contained in:
parent
e4231e012d
commit
96cfb51bd8
Before Width: | Height: | Size: 250 B After Width: | Height: | Size: 250 B |
Before Width: | Height: | Size: 343 B After Width: | Height: | Size: 343 B |
Before Width: | Height: | Size: 370 B After Width: | Height: | Size: 370 B |
@ -91,7 +91,7 @@ public class Control extends Module{
|
||||
"ping.mp3", "tesla.mp3", "waveend.mp3", "railgun.mp3", "blast.mp3", "bang2.mp3");
|
||||
|
||||
Sounds.setFalloff(9000f);
|
||||
Sounds.setPlayer(((sound, volume) -> {
|
||||
Sounds.setPlayer((sound, volume) -> {
|
||||
long time = TimeUtils.millis();
|
||||
long value = soundMap.get(sound, 0L);
|
||||
|
||||
@ -99,7 +99,7 @@ public class Control extends Module{
|
||||
threads.run(() -> sound.play(volume));
|
||||
soundMap.put(sound, time);
|
||||
}
|
||||
}));
|
||||
});
|
||||
|
||||
Musics.load("1.mp3", "2.mp3", "3.mp3", "4.mp3", "5.mp3", "6.mp3");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user