![]() |
Collision Math Toy
Ian Parberry's "Introduction to Game Physics"
|
Object descriptor. More...
#include <Object.h>
Public Member Functions | |
CObjDesc (eSprite s0, eSprite s1, eSound snd) | |
Constructor. More... | |
Public Attributes | |
eSprite | m_eUnlitSprite |
Unlit sprite. | |
eSprite | m_eLitSprite |
Lit sprite. | |
Vector2 | m_vSpriteOffset |
Sprite offset in local coordinates. | |
eSound | m_eSound |
Collision sound. | |
int | m_nScore = 0 |
Score for collision. | |
Stores information about an object.