Function: createWorld()
createWorld(
name
,game
):World
Defined in: ecs/utilities/create-world.ts:11
Creates a new world with the specified name and registers it with the game.
Parameters
name
string
The name of the world to create.
game
The game instance to register the world with.
Returns
The new ECS world instance.