summaryrefslogtreecommitdiff
path: root/client/src
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-08-21 14:50:09 -0600
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-08-21 14:50:09 -0600
commitb786fe1e723b7cf905cdd7e525375dfe96241a21 (patch)
tree7f7b9da960c62b8e4667a173913f950ea0ec0758 /client/src
parent8fce5a5f2530496e1390763364c01392a1a63640 (diff)
downloadjumpstorm-b786fe1e723b7cf905cdd7e525375dfe96241a21.tar.gz
jumpstorm-b786fe1e723b7cf905cdd7e525375dfe96241a21.zip
add default arguments to grid; add grid to server gl
Diffstat (limited to 'client/src')
-rw-r--r--client/src/JumpStorm.ts8
1 files changed, 4 insertions, 4 deletions
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)
);
}