ItMayBeAHack OOD Exercises
An exercise in OOD as guided by ItMayBeAHack.com.
Public Member Functions | List of all members
Roulette.IBinBuilder Interface Reference

Contract for constructing all of the bins for a wheel. More...

Inheritance diagram for Roulette.IBinBuilder:
Roulette.BinBuilderUS

Public Member Functions

void BuildBins (Wheel wheel)
 Creates all bins for a wheel. More...
 
void GenerateColumnBets (Wheel wheel)
 Generates all column bets. More...
 
void GenerateCornerBets (Wheel wheel)
 Generate all corner bets (i.e. a bet on the corner of a number). More...
 
void GenerateDozenBets (Wheel wheel)
 Generates all 'dozen' bets (i.e. 1-12, 13-24, 25-36). More...
 
void GenerateEvenMoneyBets (Wheel wheel)
 Generates all even money bets (i.e. Red, Black, Even, Odd, High (19-36), and Low (1-18)). More...
 
void GenerateFiveBet (Wheel wheel)
 The top line bet (0,00,1,2,3). More...
 
void GenerateLineBets (Wheel wheel)
 Generates all line bets (i.e. a bet between 2 rows such as 1-3 + 4-6). More...
 
void GenerateSplitBets (Wheel wheel)
 Generates all of the split bets (i.e. bets on 2 numbers). More...
 
void GenerateStraightBets (Wheel wheel)
 Generates all straight bets for the wheel (i.e. a bet on a single number). More...
 
void GenerateStreetBets (Wheel wheel)
 Generates all stree bets for the wheel (i.e. bet on all 3 numbers in a column). More...
 

Detailed Description

Contract for constructing all of the bins for a wheel.

Member Function Documentation

void Roulette.IBinBuilder.BuildBins ( Wheel  wheel)

Creates all bins for a wheel.

Parameters
wheelThe wheel to add the bin-outcomes to.

Implemented in Roulette.BinBuilderUS.

void Roulette.IBinBuilder.GenerateColumnBets ( Wheel  wheel)

Generates all column bets.

Parameters
wheelThe wheel to add the bin-outcomes to.

Implemented in Roulette.BinBuilderUS.

void Roulette.IBinBuilder.GenerateCornerBets ( Wheel  wheel)

Generate all corner bets (i.e. a bet on the corner of a number).

Parameters
wheelThe wheel to add the bin-outcomes to.

Implemented in Roulette.BinBuilderUS.

void Roulette.IBinBuilder.GenerateDozenBets ( Wheel  wheel)

Generates all 'dozen' bets (i.e. 1-12, 13-24, 25-36).

Parameters
wheelThe wheel to add the bin-outcomes to.

Implemented in Roulette.BinBuilderUS.

void Roulette.IBinBuilder.GenerateEvenMoneyBets ( Wheel  wheel)

Generates all even money bets (i.e. Red, Black, Even, Odd, High (19-36), and Low (1-18)).

Parameters
wheelThe wheel to add the bin-outcomes to.

Implemented in Roulette.BinBuilderUS.

void Roulette.IBinBuilder.GenerateFiveBet ( Wheel  wheel)

The top line bet (0,00,1,2,3).

Parameters
wheelThe wheel to add the bin-outcomes to.

Implemented in Roulette.BinBuilderUS.

void Roulette.IBinBuilder.GenerateLineBets ( Wheel  wheel)

Generates all line bets (i.e. a bet between 2 rows such as 1-3 + 4-6).

Parameters
wheelThe wheel to add the bin-outcomes to.

Implemented in Roulette.BinBuilderUS.

void Roulette.IBinBuilder.GenerateSplitBets ( Wheel  wheel)

Generates all of the split bets (i.e. bets on 2 numbers).

Parameters
wheelThe wheel to add the bin-outcomes to.

Implemented in Roulette.BinBuilderUS.

void Roulette.IBinBuilder.GenerateStraightBets ( Wheel  wheel)

Generates all straight bets for the wheel (i.e. a bet on a single number).

Parameters
wheelThe wheel to add the bin-outcomes to.

Implemented in Roulette.BinBuilderUS.

void Roulette.IBinBuilder.GenerateStreetBets ( Wheel  wheel)

Generates all stree bets for the wheel (i.e. bet on all 3 numbers in a column).

Parameters
wheelThe wheel to add the bin-outcomes to.

Implemented in Roulette.BinBuilderUS.


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