Blackjack Decision Maker
|
Class to implement the gameplay logic/architecture. More...
#include <GamePlay.h>
Public Member Functions | |
GamePlay (double res_w, double res_h) | |
Construct a new Game Play:: Game Play object. More... | |
~GamePlay () | |
Destroy the Game Play:: Game Play object. More... | |
void | nextCallback (AcePlaysUtils &callbackData) |
Implement the nextCallback virtual method to pass information down the pipeline. More... | |
void | registerLEDCallback (CallbackLinker *cb) |
Register callback for the LED class. More... | |
void | unregisterLEDCallback () |
Unregister callback for the LED class. More... | |
void | registerStrategyCallback (CallbackLinker *cb) |
Register callback for the Strategy Engine class. More... | |
void | unregisterStrategyCallback () |
Unregister callback for the LED class. More... | |
Class to implement the gameplay logic/architecture.
GamePlay::GamePlay | ( | double | res_w, |
double | res_h | ||
) |
Construct a new Game Play:: Game Play object.
res_w | desired resolution width |
res_h | desired resolution height |
GamePlay::~GamePlay | ( | ) |
Destroy the Game Play:: Game Play object.
|
virtual |
Implement the nextCallback virtual method to pass information down the pipeline.
callbackData | an AcePlaysUtils callback object |
Implements CallbackLinker.
void GamePlay::registerLEDCallback | ( | CallbackLinker * | cb | ) |
Register callback for the LED class.
CallbackLinker | is the class that deals with callbacks. |
cb | is a pointer to the callback |
void GamePlay::registerStrategyCallback | ( | CallbackLinker * | cb | ) |
Register callback for the Strategy Engine class.
CallbackLinker | is the class that deals with callbacks. |
cb | is a pointer to the callback |
void GamePlay::unregisterLEDCallback | ( | ) |
Unregister callback for the LED class.
void GamePlay::unregisterStrategyCallback | ( | ) |
Unregister callback for the LED class.