|
Pyrogenesis
13997
|
#include <Unit.h>
Public Member Functions | |
| ~CUnit () | |
| const CObjectEntry & | GetObject () const |
| CModelAbstract & | GetModel () const |
| CUnitAnimation * | GetAnimation () |
| void | UpdateModel (float frameTime) |
| Update the model's animation. More... | |
| void | SetEntitySelection (const CStr &selection) |
| entity_id_t | GetID () const |
| void | SetID (entity_id_t id) |
| const std::set< CStr > & | GetActorSelections () const |
| void | SetActorSelections (const std::set< CStr > &selections) |
Static Public Member Functions | |
| static CUnit * | Create (const CStrW &actorName, uint32_t seed, const std::set< CStr > &selections, CObjectManager &objectManager) |
Private Member Functions | |
| NONCOPYABLE (CUnit) | |
| CUnit (CObjectEntry *object, CObjectManager &objectManager, const std::set< CStr > &actorSelections, uint32_t seed) | |
| void | ReloadObject () |
Private Attributes | |
| CObjectEntry * | m_Object |
| CModelAbstract * | m_Model |
| CUnitAnimation * | m_Animation |
| entity_id_t | m_ID |
| uint32_t | m_Seed |
| std::set< CStr > | m_ActorSelections |
| std::set< CStr > | m_EntitySelections |
| CObjectManager & | m_ObjectManager |
Friends | |
| class | CUnitAnimation |
|
private |
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
| void CUnit::SetActorSelections | ( | const std::set< CStr > & | selections | ) |
| void CUnit::SetID | ( | entity_id_t | id | ) |
| void CUnit::UpdateModel | ( | float | frameTime | ) |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.5