Ult3D
Implementation of "Ultimate 3D Game Engine Design & Architecture" by Allan Sherrod
Loading...
Searching...
No Matches
BlackJackSDL Class Reference
Inheritance diagram for BlackJackSDL:
BlackJackGame

Public Member Functions

 BlackJackSDL (Ult::RenderParams &params)
 
virtual ~BlackJackSDL ()
 
virtual int EnterGameLoop ()
 
- Public Member Functions inherited from BlackJackGame
 BlackJackGame ()
 
virtual ~BlackJackGame ()
 
void Resize (int width, int height)
 
virtual bool GameInitialize (Ult::RenderParams &params)
 
virtual void GameUpdate ()
 
void GameRender ()
 
virtual void GameShutdown ()
 

Additional Inherited Members

- Protected Member Functions inherited from BlackJackGame
void ProcessMainMenu ()
 
void ProcessGameLevel ()
 
void DrawCards ()
 
void DealCards ()
 
int GiveCard ()
 
bool IsCardOut (int suite, int face)
 
void ProcessAI ()
 
void PlayerHit ()
 
- Protected Attributes inherited from BlackJackGame
Ult::OpenGLRenderer mRender
 
Ult::ModelData mCardGeometry
 
Card mCards [BJ_TOTAL_CARDS]
 
Ult::Texture mCardBack
 
Ult::ModelData mBackground
 
Ult::ModelData mGuiElement
 
Ult::Texture mGuiTextures [BJ_TOTAL_GUI]
 
std::vector< int > mPlayerCards
 
std::vector< int > mCpuCards
 
int mPlayerTotal
 
int mCpuTotal
 
bool mCpuStay
 
bool mPlayerStay
 
BLACK_JACK_GAME_STATE mCurrentGameState
 
bool mButtonKeys [BJ_TOTAL_KEYS]
 
bool mQuitDemo
 

Constructor & Destructor Documentation

◆ BlackJackSDL()

BlackJackSDL::BlackJackSDL ( Ult::RenderParams & params)
inline

◆ ~BlackJackSDL()

virtual BlackJackSDL::~BlackJackSDL ( )
inlinevirtual

Member Function Documentation

◆ EnterGameLoop()

virtual int BlackJackSDL::EnterGameLoop ( )
inlinevirtual

Implements BlackJackGame.


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