22#ifndef INCLUDED_UNITMANAGER
23#define INCLUDED_UNITMANAGER
62 std::vector<std::unique_ptr<CUnit>>
m_Units;
Definition: ObjectManager.h:42
Definition: UnitManager.h:38
CUnitManager()
Definition: UnitManager.cpp:32
void DeleteUnit(CUnit *unit)
Definition: UnitManager.cpp:52
CObjectManager * m_ObjectManager
Definition: UnitManager.h:64
CUnit * CreateUnit(const CStrW &actorName, const entity_id_t id, const uint32_t seed)
Definition: UnitManager.cpp:65
CUnit * AddUnit(std::unique_ptr< CUnit > unit)
Definition: UnitManager.cpp:44
std::vector< std::unique_ptr< CUnit > > m_Units
Definition: UnitManager.h:62
void MakeTerrainDirty(ssize_t i0, ssize_t j0, ssize_t i1, ssize_t j1, int dirtyFlags)
Mark a specific region of the terrain as dirty.
Definition: UnitManager.cpp:77
void SetObjectManager(CObjectManager &objectManager)
Definition: UnitManager.h:52
u32 entity_id_t
Entity ID type.
Definition: Entity.h:29
unsigned int uint32_t
Definition: wposix_types.h:53
intptr_t ssize_t
Definition: wposix_types.h:82