class Player { constructor(id, pos, nb_goal, game) { this.id = id; this.pos = pos; this.nb_goal = nb_goal; this.game = game; } update_pos(new_position, time) { this.pos = new_position; } } export { Player }