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 2c61825642 - Show all commits
+17
View File
@@ -0,0 +1,17 @@
/**
* Класс сущности "ракетка"
*/
export class Paddle {
/**
* @param {number} x координата положения ракетки по оси X
* @param {number} y координата положения ракетки по оси Y
* @param {number} width положительное числовое значение ширины ракетки
* @param {number} height положительное числовое значение высоты ракетки
*/
constructor(x, y, width, height) {
this.x = x;
this.y = y;
this.width = width;
this.height = height;
}
}