Member Summary
Public Members | ||
public |
The die's faces |
|
public |
If the die is currently rolling |
|
public |
Event container |
Method Summary
Public Methods | ||
public |
roll() Rolls the die to determine a random die face |
Public Members
public on: Object<string, Signal> source
Event container
Properties:
Name | Type | Attribute | Description |
error | Signal | Event signal for asynchronous errors (Parameters: error) |
|
rollStart | Signal | Event signal when the die starts rolling (No parameters) |
|
rollFinish | Signal | Event signal when the die finishes rolling (Parameters: face) |
Public Methods
public roll() source
Rolls the die to determine a random die face
Emit:
error |
when an connection error occured or the result could not be decrypted |