The 8-ball Pool End Game
Ian Parberry's "Introduction to Game Physics"
Enumerations
GameDefines.h File Reference

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

Enumeration Type Documentation

◆ eGameState

enum eGameState
strong

State of game play, including whether the player has won or lost.

◆ eSound

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

◆ eSprite

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