Хочу создать List текстур. Есть имя файла с кавычками:
String path = "\"badlogic.jpg\"";
Код выглядит так:
starTexture = new Texture("badlogic.jpg");
Как передать стринговый path в new Texture:
starTexture = new Texture(path);
Выдает ошибку
Caused by: com.badlogic.gdx.utils.GdxRuntimeException: File not found: "\core\assets\badlogic.jpg" (Internal)