Minor optimizations.

- Only retrieve song information String[] when needed.
- Don't try to load glyphs if Unicode metadata is disabled.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
Jeffrey Han
2015-01-08 12:03:39 -05:00
parent f6eac71643
commit db4ca5f1d5
4 changed files with 23 additions and 10 deletions

View File

@@ -324,7 +324,7 @@ public enum GameImage {
}
/**
* Game image constructor.
* Constructor.
* @param filename the image file name
*/
GameImage(String filename) {
@@ -333,7 +333,7 @@ public enum GameImage {
}
/**
* Game image constructor.
* Constructor.
* @param filename the image file name
* @param gameImage whether or not the image is related to gameplay
*/