edit API page

This commit is contained in:
Josh
2018-06-01 01:18:00 -05:00
parent 2a741a67f8
commit fee54d9d99

10
API.md
View File

@@ -81,8 +81,8 @@ When an event is "connected", the function given will be called whenever this ev
Methods:
```lua
number connect(function newConnection) -- returns a listenerID which can be used to disconnect the listener later
disconnect(number listenerID) -- disconnect the listener using the listenerID, so that it is no longer called
number connect(function newConnection) -- returns a listenerID
disconnect(number listenerID) -- disconnect the listener using the listenerID
```
### Dimension datatype
@@ -108,7 +108,11 @@ Dimension - Dimension
### Vector2D datatype
### Color datatype
Represents color values on a 0-1 decimal range.
### HexColor datatype
Represents color values as a hexadecimal string.
### RGBColor datatype
### IntColor datatype
Represents color values on a 0-255 integer range.