![]() |
The 8-ball Pool End Game
Ian Parberry's "Introduction to Game Physics"
|
Game specific defines. More...
#include "Defines.h"
Enumerations | |
enum class | eSprite { Background , Cueball , Eightball , Arrow , Stepmode , Circle , Thickcircle , Size } |
Sprite enumerated type. More... | |
enum class | eGameState { Initial , InMotion , SetupShot , Won , Lost } |
Game state. More... | |
enum class | eSound { Cue , Click , Thump , Pocket , Win , Lose , Size } |
Game sound enumerated type. More... | |
|
strong |
State of game play, including whether the player has won or lost.
|
strong |
These are the sounds used in gameplay. The sounds must be listed here in the same order that they are in the sound settings XML file.
|
strong |
An enumerated type for the sprites, which will be cast to an unsigned integer and used for the index of the corresponding texture in graphics memory. Size
must be last.