From b786fe1e723b7cf905cdd7e525375dfe96241a21 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Mon, 21 Aug 2023 14:50:09 -0600 Subject: add default arguments to grid; add grid to server gl --- client/src/JumpStorm.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'client/src') diff --git a/client/src/JumpStorm.ts b/client/src/JumpStorm.ts index 008ba13..e094a6f 100644 --- a/client/src/JumpStorm.ts +++ b/client/src/JumpStorm.ts @@ -64,12 +64,12 @@ export class JumpStorm { const clientSocketMessageQueueProvider = new ClientSocketMessageQueueProvider(socket); const clientSocketMessagePublisher = new ClientSocketMessagePublisher( - socket, + socket ); const grid = new Grid( { width: Miscellaneous.WIDTH, height: Miscellaneous.HEIGHT }, - { width: 30, height: 30 }, + { width: 30, height: 30 } ); [ @@ -80,13 +80,13 @@ export class JumpStorm { new WallBounds(ctx.canvas.width), new NetworkUpdate( clientSocketMessageQueueProvider, - clientSocketMessagePublisher, + clientSocketMessagePublisher ), new Render(ctx), ].forEach((system) => this.game.addSystem(system)); [new Floor(160), new Player()].forEach((entity) => - this.game.addEntity(entity), + this.game.addEntity(entity) ); } -- cgit v1.2.3-70-g09d2