mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-03 06:37:12 +00:00
21 lines
726 B
TypeScript
21 lines
726 B
TypeScript
|
import BattleScene from "../../battle-scene";
|
||
|
import { Mode } from "../ui";
|
||
|
"#app/inputs-controller.js";
|
||
|
import AbstractSettingsUiHandler from "./abstract-settings-ui-handler";
|
||
|
import { Setting, SettingType } from "#app/system/settings/settings";
|
||
|
|
||
|
export default class SettingsAccessibilityUiHandler extends AbstractSettingsUiHandler {
|
||
|
/**
|
||
|
* Creates an instance of SettingsGamepadUiHandler.
|
||
|
*
|
||
|
* @param scene - The BattleScene instance.
|
||
|
* @param mode - The UI mode, optional.
|
||
|
*/
|
||
|
constructor(scene: BattleScene, mode?: Mode) {
|
||
|
super(scene, mode);
|
||
|
this.title = "Accessibility";
|
||
|
this.settings = Setting.filter(s => s.type === SettingType.ACCESSIBILITY);
|
||
|
this.localStorageKey = "settings";
|
||
|
}
|
||
|
}
|