Blackjack Decision Maker
Classes | Public Member Functions | List of all members
GamePlay Class Reference

Class to implement the gameplay logic/architecture. More...

#include <GamePlay.h>

Inheritance diagram for GamePlay:
Collaboration diagram for GamePlay:

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...
 

Detailed Description

Class to implement the gameplay logic/architecture.

Constructor & Destructor Documentation

◆ GamePlay()

GamePlay::GamePlay ( double  res_w,
double  res_h 
)

Construct a new Game Play:: Game Play object.

Parameters
res_wdesired resolution width
res_hdesired resolution height

◆ ~GamePlay()

GamePlay::~GamePlay ( )

Destroy the Game Play:: Game Play object.

Member Function Documentation

◆ nextCallback()

void GamePlay::nextCallback ( AcePlaysUtils callbackData)
virtual

Implement the nextCallback virtual method to pass information down the pipeline.

Parameters
callbackDataan AcePlaysUtils callback object

Implements CallbackLinker.

◆ registerLEDCallback()

void GamePlay::registerLEDCallback ( CallbackLinker cb)

Register callback for the LED class.

Parameters
CallbackLinkeris the class that deals with callbacks.
cbis a pointer to the callback

◆ registerStrategyCallback()

void GamePlay::registerStrategyCallback ( CallbackLinker cb)

Register callback for the Strategy Engine class.

Parameters
CallbackLinkeris the class that deals with callbacks.
cbis a pointer to the callback

◆ unregisterLEDCallback()

void GamePlay::unregisterLEDCallback ( )

Unregister callback for the LED class.

◆ unregisterStrategyCallback()

void GamePlay::unregisterStrategyCallback ( )

Unregister callback for the LED class.


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