Asset type reordering

This commit is contained in:
Anuken
2026-06-08 19:04:44 -04:00
parent 033e489904
commit 7357cef274
2 changed files with 5 additions and 4 deletions
@@ -23,10 +23,10 @@ public class MapPatchesDialog extends BaseDialog{
private TextureRegionDrawable[] typeIcons = { private TextureRegionDrawable[] typeIcons = {
Icon.fileCode, Icon.fileCode,
Icon.box, Icon.box,
Icon.fileText,
Icon.image, Icon.image,
Icon.volumeUp, Icon.volumeUp,
Icon.music, Icon.music
Icon.fileText
}; };
public MapPatchesDialog(){ public MapPatchesDialog(){
@@ -6,10 +6,11 @@ import arc.struct.*;
public enum DataAssetType{ public enum DataAssetType{
patch("patches", Seq.with("json", "hjson", "json5"), PatchAsset::new, true), patch("patches", Seq.with("json", "hjson", "json5"), PatchAsset::new, true),
content("content", Seq.with("json", "hjson", "json5"), ContentAsset::new, true), content("content", Seq.with("json", "hjson", "json5"), ContentAsset::new, true),
bundle("bundles", Seq.with("properties"), BundleAsset::new, false),
image("sprites", Seq.with("png"), ImageAsset::new, false), image("sprites", Seq.with("png"), ImageAsset::new, false),
sound("sounds", Seq.with("mp3", "ogg"), SoundAsset::new, false), sound("sounds", Seq.with("mp3", "ogg"), SoundAsset::new, false),
music("music", Seq.with("mp3", "ogg"), MusicAsset::new, false), music("music", Seq.with("mp3", "ogg"), MusicAsset::new, false)
bundle("bundles", Seq.with("properties"), BundleAsset::new, false); ;
public final String folder; public final String folder;
public final Seq<String> extensions; public final Seq<String> extensions;