Gaia-ECS v0.9.3
A simple and powerful entity component system
Loading...
Searching...
No Matches
gaia::ecs::ComponentGetter Struct Reference
+ Inheritance diagram for gaia::ecs::ComponentGetter:

Public Member Functions

template<typename T >
GAIA_NODISCARD decltype(auto) get () const
 Returns the value stored in the component T on entity.
 

Public Attributes

const Chunkm_pChunk
 
uint16_t m_row
 

Member Function Documentation

◆ get()

template<typename T >
GAIA_NODISCARD decltype(auto) gaia::ecs::ComponentGetter::get ( ) const
inline

Returns the value stored in the component T on entity.

Template Parameters
TComponent
Returns
Value stored in the component.

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