feat(perk): Добавлен бонус дающий жизнь

This commit is contained in:
Ilia Mashkov committed 2026-07-19 15:37:42 +03:00
1 parent b7e16f86ea
commit 8d15f3996f
3 files changed
+6 -1

No files matched your search

+3
View File
@@ -53,6 +53,9 @@ export function updatePerks(game, containerHeight, deltaTime) {
paddle.width = PADDLE_WIDE_WIDTH;
paddle.moveTo(paddle.x, 0, CONTAINER_WIDTH);
break;
case 'life':
game.livesAmount += 1;
break;
default:
break;
}