Re-implement UI reskin with working legacy toggle

Re-implement UI reskin with working legacy toggle; add return to title option to menu
This commit is contained in:
Flashfyre committed 2024-03-31 21:14:35 -04:00
1 parent 4773c1a2a5
commit 70d61700d0
261 files changed
+2942 -268

No files matched your search

+5
View File
@@ -1,4 +1,5 @@
import BattleScene, { Button } from "../battle-scene";
import { TextStyle, getTextColor } from "./text";
import UI, { Mode } from "./ui";
export default abstract class UiHandler {
@@ -26,6 +27,10 @@ export default abstract class UiHandler {
return this.scene.ui;
}
getTextColor(style: TextStyle, shadow: boolean = false): string {
return getTextColor(style, shadow, this.scene.uiTheme);
}
getCursor(): integer {
return this.cursor;
}