The Stroop Test Game
Game Physics with a 2D Physics Engine
Loading...
Searching...
No Matches
ObjectManager.cpp File Reference

Code for CObjectManager.

#include "SageParticle.h"
#include "SageComponentIncludes.h"
#include "SageSound.h"
#include "ObjectManager.h"
#include "VectorField.h"
#include "BubbleEngine.h"
Include dependency graph for ObjectManager.cpp:

Functions

eSprite SpriteType (char c)
 Get sprite type corresponding to a character, assuming that the character is one of the letters that make up the colors "red", "green", or "blue". Returns eSprite::Size otherwise.
 

Variables

const float WORD_EXPLODE_DELAY = 15.0f
 Delay before a word explodes.
 
const float LETTER_EXPLODE_DELAY = 4.0f
 Delay before a letter explodes.
 

Function Documentation

◆ SpriteType()

eSprite SpriteType ( char c)
Parameters
cCharacter.
Returns
Sprite type corresponding to c.
Here is the caller graph for this function: