diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-08-12 13:49:16 -0600 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-08-12 13:49:16 -0600 |
commit | c6e9baa0009f7cce0f6ff156a3957ef04a8cb684 (patch) | |
tree | 9766a4a33ad1c86aa71a5f92daf8917f3e5f5eed /client/src/JumpStorm.ts | |
parent | b67ffb57c1bf6e9628339a3f43c71ccebdb46136 (diff) | |
download | jumpstorm-c6e9baa0009f7cce0f6ff156a3957ef04a8cb684.tar.gz jumpstorm-c6e9baa0009f7cce0f6ff156a3957ef04a8cb684.zip |
the great engine refactor
Diffstat (limited to 'client/src/JumpStorm.ts')
-rw-r--r-- | client/src/JumpStorm.ts | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/client/src/JumpStorm.ts b/client/src/JumpStorm.ts index d1d1013..bd48483 100644 --- a/client/src/JumpStorm.ts +++ b/client/src/JumpStorm.ts @@ -17,11 +17,6 @@ export class JumpStorm { this.game = new Game(); this.socket = new WebSocket("ws://localhost:8080"); - this.socket.onopen = () => { - this.socket.send("gaming"); - console.log("OPENED SOCKET"); - }; - [ this.createInputSystem(), new FacingDirection(), @@ -32,7 +27,7 @@ export class JumpStorm { ].forEach((system) => this.game.addSystem(system)); [new Floor(160), new Player()].forEach((entity) => - this.game.addEntity(entity) + this.game.addEntity(entity), ); } |