![]() |
The 8-ball Pool End Game
Game Physics with Bespoke Code
|
Game specific defines and enumerated types.
#include "SageDefines.h"

Enumerations | |
| enum class | eGameState { Loading , Initial , InMotion , SetupShot , Won , Lost } |
| Game state enumerated type. More... | |
| enum class | eSprite { Background , Cueball , Eightball , Arrow , Stepmode , Circle , Thickcircle , Line } |
| Sprite enumerated type. More... | |
| enum class | eSound { Cue , Click , Thump , Pocket , Win , Lose } |
| Sound enumerated type. More... | |
|
strong |
An enumerated type for the game state.
|
strong |
An enumerated type for the sounds, which will be cast to an unsigned integer and used for the index of the corresponding sound sample.
|
strong |
An enumerated type for the sprites, which will be cast to an unsigned integer and used for the index of the sprite texture in graphics memory.