1 #ifndef RADIX_COMPONENT_SOUNDSOURCE_HPP
2 #define RADIX_COMPONENT_SOUNDSOURCE_HPP
19 return Component::getTypeId<std::remove_reference<decltype(*this)>::type>();
Definition: GameController.hpp:7
void playSound(const std::string &path)
Definition: SoundSource.cpp:6
ECS entity, Component container It is created like this:
Definition: Entity.hpp:23
const char * getName() const
Definition: SoundSource.hpp:14
Definition: SoundSource.hpp:9
SoundSource(Entity &ent)
Definition: SoundSource.hpp:11
TypeId getTypeId() const
Definition: SoundSource.hpp:18
Base class to create entity components.
Definition: Component.hpp:25
void serialize(serine::Archiver &ar)
Definition: SoundSource.hpp:22
ComponentTypeId TypeId
Definition: Component.hpp:35