--------------------------- BaseComponentRange::c-tor
| 16 | // BaseComponentRange::c-tor |
| 17 | // |
| 18 | BaseComponentRange::BaseComponentRange(EcsController* const controller, Archetype* const archetype, size_t const offset, size_t const count) |
| 19 | : m_Controller(controller) |
| 20 | , m_Archetype(archetype) |
| 21 | , m_Offset(offset) |
| 22 | , m_Count(count) |
| 23 | { |
| 24 | ET_ASSERT(m_Archetype != nullptr); |
| 25 | ET_ASSERT(offset + count <= m_Archetype->GetSize()); |
| 26 | } |
| 27 | |
| 28 | |
| 29 | } // namespace fw |