The Stroop Test Game
Ian Parberry's "Introduction to Game Physics"
Functions | Variables
ObjectManager.cpp File Reference

Code for CObjectManager. More...

#include "ObjectManager.h"
#include "Particle.h"
#include "VectorField.h"
#include "BubbleEngine.h"
#include "ComponentIncludes.h"

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

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.
 

Detailed Description

Code for CObjectManager.

Function Documentation

◆ SpriteType()

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.

Parameters
cCharacter.
Returns
Sprite type corresponding to c.