Minor follow-up to #48.

Created some more variables for readability.

Removed some unnecessary casts.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
Jeffrey Han
2015-03-12 23:53:25 -04:00
parent 466312bc45
commit 35b1bf197f
5 changed files with 43 additions and 51 deletions

View File

@@ -269,11 +269,11 @@ public enum GameImage {
return img.getScaledCopy(0.8f);
}
},
MENU_PlAY ("menu-play", "png", false, false) {
MENU_PLAY ("menu-play", "png", false, false) {
@Override
protected Image process_sub(Image img, int w, int h) {
return img.getScaledCopy(0.8f);
}
}
},
MENU_EXIT ("menu-exit", "png", false, false) {
@Override