game: advent to online
This commit is contained in:
12
frontend/static/js/api/game/Player.js
Normal file
12
frontend/static/js/api/game/Player.js
Normal file
@ -0,0 +1,12 @@
|
||||
|
||||
class Player
|
||||
{
|
||||
constructor(id, pos, nb_goal)
|
||||
{
|
||||
this.id = id;
|
||||
this.pos = pos;
|
||||
this.nb_goal = nb_goal;
|
||||
}
|
||||
}
|
||||
|
||||
export { Player }
|
Reference in New Issue
Block a user