The roullete wallet.
More...
|
| void | Init (Roulette app) |
| | Inits the wallet.
|
| |
| RoulleteWallet | ClearRound () |
| | Called when the round is over, reset all vars.
|
| |
| RoulleteWallet | OnBetWin (int amount) |
| | It is called when a bet is won.
|
| |
| RoulleteWallet | LoseBet (int amount) |
| | It is called when a bet is lost.
|
| |
|
bool | HaveEnghoutFonds (int chipValue) |
| |
| void | AddBet (int chipValue) |
| | Called when a bet is added to the table.
|
| |
| void | RemoveBet (int chipValue) |
| | Called when a bet is removed from the table.
|
| |
| void | AddFounds (int amount) |
| | Called when funds are added to the wallet.
|
| |
| void | RemoveFounds (int amount) |
| | Called when funds are removed from the wallet.
|
| |
|
|
TMPro.TextMeshProUGUI | text |
| |
|
int | founds = 1000 |
| |
|
|
int | availableFunds [get] |
| | Gets the available funds.
|
| |
|
int | currentBetFunds [get] |
| | Gets the current bet funds.
|
| |
|
int | loseBet [get] |
| | Gets the lose bet.
|
| |
|
int | winBet [get] |
| | Gets the win bet.
|
| |
◆ AddBet()
| void GBTemplates.Roulette.RoulleteWallet.AddBet |
( |
int |
chipValue | ) |
|
Called when a bet is added to the table.
- Parameters
-
◆ AddFounds()
| void GBTemplates.Roulette.RoulleteWallet.AddFounds |
( |
int |
amount | ) |
|
Called when funds are added to the wallet.
- Parameters
-
◆ ClearRound()
Called when the round is over, reset all vars.
- Returns
◆ Init()
| void GBTemplates.Roulette.RoulleteWallet.Init |
( |
Roulette |
app | ) |
|
Inits the wallet.
- Parameters
-
◆ LoseBet()
| RoulleteWallet GBTemplates.Roulette.RoulleteWallet.LoseBet |
( |
int |
amount | ) |
|
It is called when a bet is lost.
- Parameters
-
- Returns
◆ OnBetWin()
| RoulleteWallet GBTemplates.Roulette.RoulleteWallet.OnBetWin |
( |
int |
amount | ) |
|
It is called when a bet is won.
- Parameters
-
- Returns
◆ RemoveBet()
| void GBTemplates.Roulette.RoulleteWallet.RemoveBet |
( |
int |
chipValue | ) |
|
Called when a bet is removed from the table.
- Parameters
-
◆ RemoveFounds()
| void GBTemplates.Roulette.RoulleteWallet.RemoveFounds |
( |
int |
amount | ) |
|
Called when funds are removed from the wallet.
- Parameters
-
The documentation for this class was generated from the following file: