game: core: use draw method instead draw_CLASSNAME
This commit is contained in:
@ -3,9 +3,9 @@ import { Player } from "./Player.js";
|
||||
|
||||
class MyPlayer extends Player
|
||||
{
|
||||
constructor(client, pos, nb_goal, game, time)
|
||||
constructor(client, pos, nb_goal, game, time, rail_start_x, rail_start_y, rail_stop_x, rail_stop_y)
|
||||
{
|
||||
super(client.me.id, pos, nb_goal, game);
|
||||
super(client.me.id, pos, nb_goal, game, rail_start_x, rail_start_y, rail_stop_x, rail_stop_y);
|
||||
this.time = time;
|
||||
this.client = client;
|
||||
}
|
||||
|
Reference in New Issue
Block a user