chore(assets): rename 'texture' to 'textures'

This commit is contained in:
2025-09-30 17:17:52 +07:00
parent 0b7d4f9226
commit fe2e075f19
4 changed files with 4 additions and 4 deletions

View File

@ -86,8 +86,8 @@ public class Assets {
new FreeTypeFontGeneratorLoader(resolver)); new FreeTypeFontGeneratorLoader(resolver));
assetManager.setLoader(BitmapFont.class, ".ttf", new FreetypeFontLoader(resolver)); assetManager.setLoader(BitmapFont.class, ".ttf", new FreetypeFontLoader(resolver));
// Load all assets here // Load all assets here
assetManager.load("texture/main_menu/background.png", Texture.class); assetManager.load("textures/main_menu/background.png", Texture.class);
assetManager.load("texture/main_menu/title.png", Texture.class); assetManager.load("textures/main_menu/title.png", Texture.class);
} }
public static boolean isLoadedAll() { public static boolean isLoadedAll() {

View File

@ -22,8 +22,8 @@ public class MainMenu extends Scene {
public MainMenu(Game game) { public MainMenu(Game game) {
super(game); super(game);
backgroundTexture = Assets.getAsset("texture/main_menu/background.png", Texture.class); backgroundTexture = Assets.getAsset("textures/main_menu/background.png", Texture.class);
titleTexture = Assets.getAsset("texture/main_menu/title.png", Texture.class); titleTexture = Assets.getAsset("textures/main_menu/title.png", Texture.class);
initializeLabels(); initializeLabels();
} }

View File

Before

Width:  |  Height:  |  Size: 574 KiB

After

Width:  |  Height:  |  Size: 574 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB