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

The roulette command pattern handler. More...

Inheritance diagram for GBTemplates.Roulette.RouletteCommand:
GBTemplates.Roulette.ICommand

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]
 

Detailed Description

The roulette command pattern handler.

Constructor & Destructor Documentation

◆ RouletteCommand()

GBTemplates.Roulette.RouletteCommand.RouletteCommand ( RouletteInputUI  inputUI,
Chip  chip,
int  chipValue,
Roulette  roulette 
)

Initializes a new instance of the RouletteCommand class.

Parameters
inputUIThe input u i.
chipThe chip.
chipValueThe chip value.
rouletteThe roulette.

Member Function Documentation

◆ Execute()

void GBTemplates.Roulette.RouletteCommand.Execute ( )

Executes the command pattern. This command positions the chip on the table.

Implements GBTemplates.Roulette.ICommand.

◆ Undo()

void GBTemplates.Roulette.RouletteCommand.Undo ( )

This command returns the chip to the player and removes the wager.

Implements GBTemplates.Roulette.ICommand.


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