"ok"
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 6.3 KiB |
@@ -76,6 +76,8 @@ public class SoundControl{
|
|||||||
sound.setBus(uiBus);
|
sound.setBus(uiBus);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Events.fire(new MusicRegisterEvent());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void loop(Sound sound, float volume){
|
public void loop(Sound sound, float volume){
|
||||||
|
|||||||
@@ -70,6 +70,8 @@ public class EventType{
|
|||||||
public static class ContentInitEvent{}
|
public static class ContentInitEvent{}
|
||||||
/** Called when the client game is first loaded. */
|
/** Called when the client game is first loaded. */
|
||||||
public static class ClientLoadEvent{}
|
public static class ClientLoadEvent{}
|
||||||
|
/** Called after SoundControl registers its music. */
|
||||||
|
public static class MusicRegisterEvent{}
|
||||||
/** Called *after* all the modded files have been added into Vars.tree */
|
/** Called *after* all the modded files have been added into Vars.tree */
|
||||||
public static class FileTreeInitEvent{}
|
public static class FileTreeInitEvent{}
|
||||||
/** Called when a game begins and the world is loaded. */
|
/** Called when a game begins and the world is loaded. */
|
||||||
|
|||||||
Reference in New Issue
Block a user