Add UI reskin by LJ Birdman (WiP)

This commit is contained in:
Flashfyre committed 2024-03-31 16:49:53 -04:00
1 parent f789860e96
commit 0200a2688a
240 files changed
+2594 -149

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;
}