CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::EntityObjectSet< EOs > Struct Template Reference

#include <CeresEngine/Entity/Entity.hpp>

Static Public Attributes

template<CEntityObject EO>
static constexpr bool includes = (std::is_same_v<EO, EOs> || ...)
 Checks if all EOs are valid entity object types.
 
static const ComponentMask mask = (EOs::ComponentSet::getComponentMask() | ...)
 A trait that contains the minimum component mask for that includes all components for entity objects in the set.
 

Member Data Documentation

◆ includes

template<CEntityObject... EOs>
template<CEntityObject EO>
constexpr bool CeresEngine::EntityObjectSet< EOs >::includes = (std::is_same_v<EO, EOs> || ...)
inlinestaticconstexpr

Checks if all EOs are valid entity object types.

A trait that checks if the entity object type EO is included in the entity object set set

Template Parameters
EOthe entity object type

◆ mask

template<CEntityObject... EOs>
const ComponentMask CeresEngine::EntityObjectSet< EOs >::mask = (EOs::ComponentSet::getComponentMask() | ...)
inlinestatic

A trait that contains the minimum component mask for that includes all components for entity objects in the set.


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