Cursor refactoring.
Moved cursor-related code out of UI and into a new non-static "Cursor" class. Also, the cursor is no longer reset after gameplay if it wasn't skinned. Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
@@ -225,7 +225,7 @@ public class Options {
|
||||
@Override
|
||||
public void click(GameContainer container) {
|
||||
super.click(container);
|
||||
UI.resetCursor();
|
||||
UI.getCursor().reset();
|
||||
}
|
||||
},
|
||||
DYNAMIC_BACKGROUND ("Enable Dynamic Backgrounds", "The song background will be used as the main menu background.", true),
|
||||
|
||||
Reference in New Issue
Block a user