Constructor
new Tri()
Properties:
Name | Type | Description |
---|---|---|
state |
number | the state of the Tri. Must be -1, 0, or 1 |
- Source:
Methods
setState(state)
Set a Tri to one of the three valid states
Parameters:
Name | Type | Description |
---|---|---|
state |
number | the state to set the Tri to. Must be -1, 0, or 1 |
- Source: