![]() |
The Top-Down Tiled Game Prototype
A Basic Tiled Top-Down Shooter
|
Object descriptor. More...
#include <TileManager.h>
Public Member Functions | |
| CObjectDesc () | |
| Default constructor. | |
| CObjectDesc (eObject, const Vector2 &, float=0.0f) | |
| Constructor. | |
Public Attributes | |
| eObject | m_eObject = eObject::Unknown |
| Object type. | |
| Vector2 | m_vPos |
| Position. | |
| float | m_fRoll = 0.0f |
| Orientation. | |
Describes initial properties of an object read from a map file.
| CObjectDesc::CObjectDesc | ( | eObject | t, |
| const Vector2 & | v, | ||
| float | r = 0.0f ) |
Constructor.
| t | Object type. |
| v | Position. |
| r | Orientation. |