Add accounts, login, and registration

This commit is contained in:
Flashfyre committed 2023-12-30 20:19:33 -05:00
1 parent 19fec88daa
commit 8063472bac
48 files changed
+1005 -205

No files matched your search

+5 -1
View File
@@ -54,7 +54,7 @@ export default abstract class AbstractOptionSelectUiHandler extends UiHandler {
this.optionSelectText.setPositionRelative(this.optionSelectBg, 16, 9);
}
show(args: any[]) {
show(args: any[]): boolean {
const options = this.getOptions();
if (args.length >= options.length && args.slice(0, options.length).filter(a => a instanceof Function).length === options.length) {
@@ -64,7 +64,11 @@ export default abstract class AbstractOptionSelectUiHandler extends UiHandler {
this.optionSelectContainer.setVisible(true);
this.setCursor(0);
return true;
}
return false;
}
processInput(button: Button): boolean {