Refactor/entities splitting #4

Merged
ilia merged 18 commits from refactor/entities-splitting into main 2026-07-18 08:02:47 +00:00
Showing only changes of commit 5835aed803 - Show all commits
+8
View File
@@ -30,4 +30,12 @@ export class Game {
this.bricks = layBricks(columnAmount, rowAmount, BRICK_WIDTH, BRICK_HEIGHT);
}
/**
* Изменяет значения сущностей в зависимости от времени
* @param {*} deltaTime изменение времени из Ticker
*/
update(deltaTime) {
tick(this, CONTAINER_WIDTH, CONTAINER_HEIGHT, deltaTime);
}
}