начать 4.1 и накатить наработки сцены,мыши

This commit is contained in:
2021-10-19 14:33:32 +03:00
parent 94a5486925
commit 8f3018a0d8
23 changed files with 1253 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
function Мышь(события)
{
this.создать = function()
{
window.addEventListener("click", function(o) {
события.уведомить(`мышь/нажатие/${o.clientX}/${o.clientY}/${o.target.id}`);
});
};
// Конструктор.
this.создать();
};