game: core: recreate classes see other paddle

This commit is contained in:
2024-01-17 19:06:36 +01:00
parent 6983983e58
commit 1af55795d9
13 changed files with 295 additions and 191 deletions

View File

@ -25,7 +25,7 @@ class MyPlayer extends Player
this.positon = new_pos;
this.game._send_paddle(this.positon, this.game.time._current_frame);
this.game._send_paddle_position(this.positon, this.game.time._current_frame);
}
update_pos(new_position, time)