(String dir)
| 68 | } |
| 69 | |
| 70 | public static void setExtraAssetsDir(String dir) { |
| 71 | FileHandle handle = Gdx.files.absolute(dir); |
| 72 | if (!handle.isDirectory()) { |
| 73 | NLog.e("'%s' is not a directory", dir); |
| 74 | return; |
| 75 | } |
| 76 | NLog.i("Set '%s' as the extra asset directory", handle.path()); |
| 77 | sExtraAssetsHandle = handle; |
| 78 | } |
| 79 | |
| 80 | public static FileHandle assets(String path) { |
| 81 | if (sExtraAssetsHandle != null) { |
no test coverage detected