|
ItMayBeAHack OOD Exercises
An exercise in OOD as guided by ItMayBeAHack.com.
|
An implementation of the Player class that always bets on black. More...
Public Member Functions | |
| delegate void | OnResult (Bet bet) |
| Passenger57 (Table table, Wheel wheel) | |
| override void | Lose (Bet bet) |
| Called by Game when the player's bet loses. More... | |
| override void | PlaceBets () |
| Places a bet on focusedOutcome with a random amount between the table minimum and limit. More... | |
| override void | Win (Bet bet) |
| Called by Game when the player's bet wins. More... | |
Public Member Functions inherited from Roulette.Player | |
| Player (Table table, Wheel wheel) | |
| Constructor More... | |
Public Attributes | |
| OnResult | OnLose |
| OnResult | OnWin |
Properties | |
| override Outcome | focusedOutcome [get] |
Properties inherited from Roulette.Player | |
| abstract Outcome | focusedOutcome [get] |
| The outcome the player will bet on based on the player's strategey More... | |
Additional Inherited Members | |
Protected Attributes inherited from Roulette.Player | |
| Table | table |
| The table the bets will be placed on. More... | |
| Wheel | wheel |
| The wheel that will provide the available outcomes for the player's strategy. More... | |
An implementation of the Player class that always bets on black.
|
virtual |
Called by Game when the player's bet loses.
| bet | The losing bet. |
Implements Roulette.Player.
| delegate void Roulette.Passenger57.OnResult | ( | Bet | bet | ) |
|
virtual |
Places a bet on focusedOutcome with a random amount between the table minimum and limit.
Implements Roulette.Player.
|
virtual |
Called by Game when the player's bet wins.
| bet | The winning bet. |
Implements Roulette.Player.
| OnResult Roulette.Passenger57.OnLose |
| OnResult Roulette.Passenger57.OnWin |
|
get |
1.8.11