![]() |
Ball and Spring Toy
Game Physics with Bespoke Code
|
Game specific defines and enumerated types.
#include "SageDefines.h"

Enumerations | |
| enum class | eGameState { Loading , Playing } |
| Game state enumerated type. More... | |
| enum class | eSprite { Background , Head , Ball , WoodCircle , Spring , Stick , None } |
| Sprite enumerated type. More... | |
| enum class | eSound { Thump , Boing , Umph , Hop , Ok , Ow , None } |
| Sound enumerated type. More... | |
| enum class | eBody { Chain2 , Chain3 , Chain4 , Wheel4 , Wheel5 , Wheel6 , RagDoll , None } |
| Body enumerated type. Enumerated type for the bodt type. | |
|
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.