Contains the information for a bet that a player will place on the table.
More...
Contains the information for a bet that a player will place on the table.
| Roulette.Bet.Bet |
( |
ushort |
amount, |
|
|
Outcome |
outcome |
|
) |
| |
Constructor.
- Parameters
-
| amount | Amount of the bet. |
| outcome | The outcome that is being bet upon. |
| int Roulette.Bet.GetWinAmount |
( |
| ) |
|
The amount if the bet is won.
- Returns
- Winning amount.
| override string Roulette.Bet.ToString |
( |
| ) |
|
Informational string representation of this object.
- Returns
- bet's information.
| string Roulette.Bet.ToStringFriendly |
( |
| ) |
|
A user-facing representation of this object.
- Returns
- Nicely formatted string, i.e. "$100 on 0 @ 10:1"
| ushort Roulette.Bet.amount |
|
get |
The ooutcome that has been bet upon.
The documentation for this class was generated from the following file:
- E:/@Documents/My Open Source Repos/ItMayBeAHackOOD/Assets/01_Roulette/Bet.cs