действия вызывают действия

This commit is contained in:
kornerr committed 2021-07-19 15:14:14 +03:00
1 parent a4528580fb
commit db1a47f1a9
2 files changed
+9

No files matched your search

+4
View File
@@ -37,5 +37,9 @@
{
вызов();
}
else if (typeof вызов === "string")
{
мир.действия.совершить(вызов);
}
}
};
+5
View File
@@ -320,6 +320,11 @@
действия: {
подкинутьСтрелу: [
() => { console.debug("НАДО подкинуть стрелу"); },
"простоТест",
],
простоТест: [
() => { console.debug("НАДО бы теста"); },
() => { console.debug("НАДО воистину"); },
],
},
});