RavEngine
Loading...
Searching...
No Matches
RavEngine::World::EntitySparseSet< T > Class Template Reference

Public Types

using const_iterator = typename decltype(dense_set)::const_iterator_type
 

Public Member Functions

template<typename ... A>
T & Emplace (entity_id_t local_id, A &&... args)
 
void Destroy (entity_id_t local_id)
 
T & GetComponent (entity_id_t local_id)
 
auto SparseToDense (entity_t local_id)
 
T & GetFirst ()
 
bool HasComponent (entity_id_t local_id) const
 
auto begin ()
 
auto end ()
 
auto begin () const
 
auto end () const
 
T & Get (entity_id_t idx)
 
auto GetOwner (entity_id_t idx) const
 
auto DenseSize () const
 
auto GetDenseData () const
 
const decltype(dense_set) & GetDense () const
 

The documentation for this class was generated from the following file: