This commit is contained in:
kornerr committed 2021-09-22 14:59:47 +03:00
1 parent 3995c1662c
commit 7c64551627
80 files changed
+943 -111

No files matched your search

@@ -0,0 +1,19 @@
function Физика()
{
this.создать = function()
{
this.движок = Matter.Engine.create({
enableSleeping: true,
gravity: {
y: 2,
},
});
};
this.обновить = function() {
Matter.Engine.update(this.движок);
};
// Конструктор.
this.создать();
}