Removing useless group callbacks at the World level
This commit is contained in:
parent
7410cc8a4b
commit
f6458a8335
3 changed files with 4 additions and 41 deletions
|
@ -13,7 +13,7 @@ describe("World", () => {
|
|||
|
||||
}
|
||||
|
||||
const world = new World(connect, disconnect, 160, 160, () => {}, () => {}, () => {}, () => {}, () => {});
|
||||
const world = new World(connect, disconnect, 160, 160, () => {}, () => {}, () => {});
|
||||
|
||||
world.join({ userId: "foo" }, new Point(100, 100));
|
||||
|
||||
|
@ -40,7 +40,7 @@ describe("World", () => {
|
|||
|
||||
}
|
||||
|
||||
const world = new World(connect, disconnect, 160, 160, () => {}, () => {}, () => {}, () => {}, () => {});
|
||||
const world = new World(connect, disconnect, 160, 160, () => {}, () => {}, () => {});
|
||||
|
||||
world.join({ userId: "foo" }, new Point(100, 100));
|
||||
|
||||
|
@ -69,7 +69,7 @@ describe("World", () => {
|
|||
disconnectCallNumber++;
|
||||
}
|
||||
|
||||
const world = new World(connect, disconnect, 160, 160, () => {}, () => {}, () => {}, () => {}, () => {});
|
||||
const world = new World(connect, disconnect, 160, 160, () => {}, () => {}, () => {});
|
||||
|
||||
world.join({ userId: "foo" }, new Point(100, 100));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue