Use CookieMonsterFramework for save/load, infoMenu

This commit is contained in:
Daniël van Noord
2021-07-11 10:21:16 +02:00
parent b959b3c024
commit c0e788b143
95 changed files with 809 additions and 675 deletions

View File

@@ -11,6 +11,7 @@ export default class SettingStandard extends Setting {
func: () => void;
constructor(
defaultValue: string | number,
type: string,
group: string,
label: string[],
@@ -18,7 +19,7 @@ export default class SettingStandard extends Setting {
toggle: boolean,
func?: () => void,
) {
super(type, group);
super(defaultValue, type, group);
this.label = label;
this.desc = desc;
this.toggle = toggle;