13 Entity(flecs::entity entity,
const std::shared_ptr<Scene>& scene)
22 template <typename T, typename... Args>
41template <
typename T,
typename... Args>
44 entity_.set<T>(T(std::forward<Args>(args)...));
auto has_component() const -> bool
Definition entity.hpp:32
auto get_component() -> T &
Definition entity.hpp:37
std::shared_ptr< Scene > scene_
Definition entity.hpp:28
Entity(flecs::entity entity, const std::shared_ptr< Scene > &scene)
Definition entity.hpp:13
flecs::entity entity_
Definition entity.hpp:26
void add_component(Args &&... args)
Definition entity.hpp:42
Definition components.cpp:3