UNPKG

hytopia

Version:

The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.

50 lines (24 loc) 669 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [World](./server.world.md) &gt; [(constructor)](./server.world._constructor_.md) ## World.(constructor) Constructs a new instance of the `World` class **Signature:** ```typescript constructor(options: WorldOptions); ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> options </td><td> [WorldOptions](./server.worldoptions.md) </td><td> The options for the world. </td></tr> </tbody></table>