MCPcopy Create free account
hub / github.com/SilverTree7622/Phaser3_GUI_Inspector / saveConfig

Method saveConfig

js/manager/SaveManager.js:40–47  ·  view source on GitHub ↗
(_config)

Source from the content-addressed store, hash-verified

38 } catch (e) {}
39 }
40 saveConfig(_config) {
41 let tmpObj = {};
42 tmpObj.name = _config.name;
43 tmpObj.type = _config.type;
44 tmpObj.texture = _config.texture;
45 tmpObj.date = this.getDate();
46 this.push2saveQ();
47 }
48 getDate() {
49 let tD = this.date;
50 tD.year = tD.self.getFullYear();

Callers

nothing calls this directly

Calls 2

getDateMethod · 0.95
push2saveQMethod · 0.95

Tested by

no test coverage detected