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

This commit is contained in:
2021-07-19 15:14:14 +03:00
parent a4528580fb
commit db1a47f1a9
2 changed files with 9 additions and 0 deletions

View File

@@ -37,5 +37,9 @@
{
вызов();
}
else if (typeof вызов === "string")
{
мир.действия.совершить(вызов);
}
}
};

View File

@@ -320,6 +320,11 @@
действия: {
подкинутьСтрелу: [
() => { console.debug("НАДО подкинуть стрелу"); },
"простоТест",
],
простоТест: [
() => { console.debug("НАДО бы теста"); },
() => { console.debug("НАДО воистину"); },
],
},
});