ZelComponent

template<typename T>
class ZelComponent : public ZelComponentBase

Public Functions

inline T *create(zel_entity_id entity, T component)
inline virtual void destroy(zel_entity_id entity)
inline T *get_component(zel_entity_id entity)
inline virtual void free()

Public Members

void (*destroy_function)(T*)
std::vector<T> components = {{}}