1 #ifndef AUDIO_SOURCE_COMPONENT
2 #define AUDIO_SOURCE_COMPONENT
25 static int Type() {
return 3; }
28 static unsigned New();
Definition: AudioClip.hpp:4
void Play() const
Plays the clip.
std::string GetSerialized() const
GameObject is composed of components that define its behavior.
Definition: GameObject.hpp:9
Contains an audio clip and methods to play it.
Definition: AudioSourceComponent.hpp:9
void SetClipId(unsigned audioClipId)