42_ft_transcendence/frontend/static/js/api/game/Ball.js
2024-01-11 17:31:15 +01:00

14 lines
263 B
JavaScript

class Ball
{
constructor (position_x, position_y, velocity_x, velocity_y)
{
this.position_x = position_x;
this.position_y = position_y;
this.velocity_x = velocity_x;
this.velocity_y = velocity_y;
}
}
export { Ball }