![]() |
Roulette 1.0
Roulette game template
|
The roulette command pattern handler. More...
Public Member Functions | |
RouletteCommand (RouletteInputUI inputUI, Chip chip, int chipValue, Roulette roulette) | |
Initializes a new instance of the RouletteCommand class. | |
void | Execute () |
Executes the command pattern. This command positions the chip on the table. | |
void | Undo () |
This command returns the chip to the player and removes the wager. | |
Properties | |
RouletteInputUI | inputUI [get] |
Chip | chip [get] |
int | chipValue [get] |
Roulette | roulette [get] |
The roulette command pattern handler.
GBTemplates.Roulette.RouletteCommand.RouletteCommand | ( | RouletteInputUI | inputUI, |
Chip | chip, | ||
int | chipValue, | ||
Roulette | roulette | ||
) |
Initializes a new instance of the RouletteCommand class.
inputUI | The input u i. |
chip | The chip. |
chipValue | The chip value. |
roulette | The roulette. |
void GBTemplates.Roulette.RouletteCommand.Execute | ( | ) |
Executes the command pattern. This command positions the chip on the table.
Implements GBTemplates.Roulette.ICommand.
void GBTemplates.Roulette.RouletteCommand.Undo | ( | ) |
This command returns the chip to the player and removes the wager.
Implements GBTemplates.Roulette.ICommand.