new module:Gate(appInstance, name)
Parameters:
Name | Type | Description |
---|---|---|
appInstance |
App | instance of App |
name |
string | name of the gate (and, not, xor...) |
Extends
- Box
Members
-
static validGates :Set
-
array of valid gate names
Methods
-
refreshState()
-
proccess the input connector states and reflect them in the output connector states according to the logic corresponding to this gate's name