hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
50 lines (24 loc) • 733 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [PlayerEntity](./server.playerentity.md) > [(constructor)](./server.playerentity._constructor_.md)
## PlayerEntity.(constructor)
Constructs a new instance of the `PlayerEntity` class
**Signature:**
```typescript
constructor(options: PlayerEntityOptions);
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
options
</td><td>
[PlayerEntityOptions](./server.playerentityoptions.md)
</td><td>
The options for the player entity.
</td></tr>
</tbody></table>