diff --git a/src/js/classes.js b/src/js/classes.js new file mode 100644 index 0000000..c21d648 --- /dev/null +++ b/src/js/classes.js @@ -0,0 +1,26 @@ +/* This file will contain all classes */ +export class ItemListBox { + + constructor() { + console.log("ItemListBox is created"); + } + + assignElements(worldData) { + this.worldData = worldData; /* array of .id */ + } + +} + + +export class DataChecker { + + constructor(saveFile, section) { + this.saveFile = saveFile; + this.section = section; + this.entries = section.entries; + this.playerData = saveFile.playerData; + this.boolData = saveFile.sceneData.persistentBoolItems; + this.geoRocksData = saveFile.sceneData.geoRocks; + } + +} \ No newline at end of file diff --git a/src/js/page.js b/src/js/page.js deleted file mode 100644 index e57cfeb..0000000 --- a/src/js/page.js +++ /dev/null @@ -1,12 +0,0 @@ -/* This file will contain all classes and functions for creating things on the page */ -export class ItemListBox { - - constructor() { - console.log("ItemListBox is created"); - } - - assignElements(worldData) { - this.worldData = worldData; /* array of .id */ - } - -} \ No newline at end of file