game: add: goal statistic
This commit is contained in:
@ -9,12 +9,12 @@ class MyPlayer extends Player
|
||||
* @param {Client} client
|
||||
* @param {Game} game
|
||||
* @param {Segment} rail
|
||||
* @param {Number} nb_goal
|
||||
* @param {[Number]} score
|
||||
* @param {Number} position
|
||||
*/
|
||||
constructor(client, game, rail, nb_goal, position)
|
||||
constructor(client, game, score, rail, position)
|
||||
{
|
||||
super(game, client.me.id, client.me.username, rail, nb_goal, position, true);
|
||||
super(game, client.me.id, client.me.username, score, rail, position, true);
|
||||
/**
|
||||
* @type {Client}
|
||||
*/
|
||||
|
Reference in New Issue
Block a user