|
ItMayBeAHack OOD Exercises
An exercise in OOD as guided by ItMayBeAHack.com.
|
Contract for constructing all of the bins for a wheel. More...
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... | |
Contract for constructing all of the bins for a wheel.
| void Roulette.IBinBuilder.BuildBins | ( | Wheel | wheel | ) |
Creates all bins for a wheel.
| wheel | The wheel to add the bin-outcomes to. |
Implemented in Roulette.BinBuilderUS.
| void Roulette.IBinBuilder.GenerateColumnBets | ( | Wheel | wheel | ) |
Generates all column bets.
| wheel | The 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).
| wheel | The 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).
| wheel | The 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)).
| wheel | The 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).
| wheel | The 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).
| wheel | The 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).
| wheel | The 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).
| wheel | The 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).
| wheel | The wheel to add the bin-outcomes to. |
Implemented in Roulette.BinBuilderUS.
1.8.11