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