mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-11 02:35:43 +00:00
* [Hotfix] Fix interactions of some moves not changing types (#3183) * [Hotfix] Fix wild spawns not having their HA (#3190) * [Hotfix] Allow to hatch pokemon with Hidden Ability again (#3222) * chore: Update TNC links layout and position in index.html * chore: Update TNC links font size in index.css (#3230) * Move Touch Controls * ConfigToolbar alignment * Insert config toolbar on open, camel-case classes, hidden setting * Better toolbar styling, fixed double configToolbar bug * Fixed typedocs --------- Co-authored-by: Adrian T. <68144167+torranx@users.noreply.github.com> Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com> Co-authored-by: Frederico Santos <frederico.f.santos@tecnico.ulisboa.pt>
19 lines
625 B
TypeScript
19 lines
625 B
TypeScript
import BattleScene from "../../battle-scene";
|
|
import { SettingType } from "../../system/settings/settings";
|
|
import { Mode } from "../ui";
|
|
import AbstractSettingsUiHandler from "./abstract-settings-ui-handler";
|
|
|
|
export default class SettingsUiHandler extends AbstractSettingsUiHandler {
|
|
/**
|
|
* Creates an instance of SettingsGamepadUiHandler.
|
|
*
|
|
* @param scene - The BattleScene instance.
|
|
* @param mode - The UI mode, optional.
|
|
*/
|
|
constructor(scene: BattleScene, mode: Mode | null = null) {
|
|
super(scene, SettingType.GENERAL, mode);
|
|
this.title = "General";
|
|
this.localStorageKey = "settings";
|
|
}
|
|
}
|