diff --git a/ModuleClientAPIGameLib.md b/ModuleClientAPIGameLib.md index c9a67ba..39b3664 100644 --- a/ModuleClientAPIGameLib.md +++ b/ModuleClientAPIGameLib.md @@ -1,2 +1,20 @@ -# ModuleClientApi - Feedback -Need to do this sometime... Please contact me if needed! \ No newline at end of file +# 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_ diff --git a/ModuleClientAPIGameLibController.md b/ModuleClientAPIGameLibController.md new file mode 100644 index 0000000..6258516 --- /dev/null +++ b/ModuleClientAPIGameLibController.md @@ -0,0 +1,3 @@ +# ModuleClientApi - GameLib Controller + +Class representing the GameLib Controller inside the ModuleClientAPI.