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

Method initDate

js/manager/SaveManager.js:17–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15 }
16
17 initDate() {
18 let tmpD = {};
19 tmpD.self = new Date(); // web window API
20 tmpD.year = 0;
21 tmpD.month = 0;
22 tmpD.day = 0;
23 tmpD.time = 0;
24 tmpD.tot = undefined;
25 return tmpD;
26 }
27 createCommand(_scene) {
28 _scene.input.keyboard.on('keydown_S', (_event) => {
29 if (_event.ctrlKey || _event.shiftKey) {

Callers 2

constructorMethod · 0.95
tFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected