Roulette 1.0
Roulette game template
Loading...
Searching...
No Matches
GBTemplates.Roulette.Roulette Class Reference

Roulettte App Base Script. More...

Inheritance diagram for GBTemplates.Roulette.Roulette:

Public Member Functions

void OnButtonManualEarsing ()
 Ons the button manual earsing press callback.
 
void OnButtonSelectAmountBeet (int number)
 Ons the button select amount beet press callback.
 
void OnButtonSpin ()
 Ons the button spin press callback.
 
void OnButtonUndoBeet ()
 Ons the button undo beet press callback.
 
void OnButtonClear ()
 Ons the button clear press callback.
 
void ProccesCommand (RouletteCommand command)
 Processes the movement of the table and adds it to the list of commands.
 
void ManualUndo (RouletteCommand command)
 Undo the last move in the table.
 
void SetForceResult (bool actived, int value)
 Set a forced result, very useful for testing.
 
void ResetManualEarsing ()
 Resets the manual earsing. Set to false.
 
void OnGetNumberFromSpinner (int winnerNumber)
 This is called when a new result number is obtained. This number is added to the statistics, the method is called for feedback, the table is moved and the method is called to clear the round.
 
void CheckWinLoseLastResult ()
 Checks if the player win or lose with the last result.
 

Properties

RoulleteWallet wallet [get]
 
RoulettePoolsHandler pools [get]
 
RouletteSpiner spinner [get]
 
RouletteStatistics statistics = new RouletteStatistics() [get]
 
bool isManualErasing [get]
 
int currentBetChip [get]
 
bool almosOneChipWon [get]
 

Detailed Description

Roulettte App Base Script.

Member Function Documentation

◆ ManualUndo()

void GBTemplates.Roulette.Roulette.ManualUndo ( RouletteCommand  command)

Undo the last move in the table.

Parameters
command

◆ OnButtonSelectAmountBeet()

void GBTemplates.Roulette.Roulette.OnButtonSelectAmountBeet ( int  number)

Ons the button select amount beet press callback.

Parameters
numberThe number.

◆ OnGetNumberFromSpinner()

void GBTemplates.Roulette.Roulette.OnGetNumberFromSpinner ( int  winnerNumber)

This is called when a new result number is obtained. This number is added to the statistics, the method is called for feedback, the table is moved and the method is called to clear the round.

Parameters
winnerNumberThe winner number.

◆ ProccesCommand()

void GBTemplates.Roulette.Roulette.ProccesCommand ( RouletteCommand  command)

Processes the movement of the table and adds it to the list of commands.

Parameters
command

◆ SetForceResult()

void GBTemplates.Roulette.Roulette.SetForceResult ( bool  actived,
int  value 
)

Set a forced result, very useful for testing.

Parameters
activedIf true, actived.
valueThe value.

The documentation for this class was generated from the following file: