Top-down Shooter With Death
A Top-Down Shooter in Which Characters Die
Enumerations
GameDefines.h File Reference

Game specific defines. More...

#include "Defines.h"

Enumerations

enum  eSprite : UINT {
  Background, Bullet, Bullet2, Player,
  Turret, Smoke, Spark, Size
}
 Sprite enumerated type. More...
 
enum  eSound : UINT {
  Start, Boom, Clang, Grunt,
  Gun, Ricochet, Size
}
 Sound enumerated type. More...
 
enum  eGameState { Playing, Waiting }
 Game state enumerated type. More...
 

Enumeration Type Documentation

◆ eGameState

enum eGameState
strong

An enumerated type for the game state, which can be either playing or waiting a short interval for the level to end after winning or losing to let sounds and particle effects play to the end without being cut short.

◆ eSound

enum eSound : UINT
strong

An enumerated type for the sounds, which will be cast to an unsigned integer and used for the index of the corresponding sample. Size must be last.

◆ eSprite

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