Property | Type | Description | |
---|---|---|---|
odds | float |
Method | Description | |
---|---|---|
Flip ( ) : bool |
Activates the flip and returns true or false depending on if the expected choice was chosen.
|
|
getExpected ( ) : int |
Getter for expected.
|
|
setExpected ( int choice ) : void |
Sets the expected value to the choice argument. Should be 1 or 0.
|