Started on GameLib in client

2025-08-09 16:42:53 +02:00
parent 7e48e035e0
commit 3b3e9af778
2 changed files with 23 additions and 2 deletions

@@ -1,2 +1,20 @@
# ModuleClientApi - Feedback
Need to do this sometime... Please contact me if needed!
# ModuleClientApi - GameLib
Class representing the GameLib inside the ModuleClientAPI.
## Controller
### newController
Send a message to the ModuleServerAPI.
```javascript
api.GameLib.newController(roomId, controllerId);
```
| Argument | Type | Description |
| ------------ | ------ | ------------------------- |
| roomId | string | The ID of the game room. |
| controllerId | string | The ID of the controller. |
**Return** [Controller](./ModuleClientAPIGameLibController) _The GameLib Controller_

@@ -0,0 +1,3 @@
# ModuleClientApi - GameLib Controller
Class representing the GameLib Controller inside the ModuleClientAPI.