X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=game.js;h=706bfc7a153353358d0064f0b15deed18f44f09e;hb=eff8b40b8ee5bccc0990a49791365abb3b64b8b1;hp=5bbd7f503885a964105a90266f5e36d8cd981210;hpb=17ceff9f690f9689f38fe3d0d448fccba72bf044;p=lmno-server diff --git a/game.js b/game.js index 5bbd7f5..706bfc7 100644 --- a/game.js +++ b/game.js @@ -1,7 +1,7 @@ /* Base class providing common code for game engine implementations. */ class Game { - constructor(name) { - this.name = name; + constructor(id) { + this.id = id; this.clients = []; this.next_client_id = 1; }