44 virtual void SetLooping(
const bool loop =
true);
46 virtual void SetVolume(
const float volume);
51 virtual void SetSample(ALLEGRO_SAMPLE* pSample);
56 static bool s_alAddonInitialized;
58 ALLEGRO_SAMPLE* m_pSample =
nullptr;
59 ALLEGRO_PLAYMODE m_playMode = ALLEGRO_PLAYMODE_ONCE;
Represents a 2D grid of texels.
virtual bool Load(const std::string &path, ResourceManager *pManager)
Load the desired font into memory.
virtual bool IsCloneable() const
Used to determine if the texture is cloneable.
static void ReserveSamples(int count)
virtual void SetSample(ALLEGRO_SAMPLE *pSample)
virtual void SetVolume(const float volume)
virtual void SetLooping(const bool loop=true)
Base class for all resource types to be managed by the ResourceManager class.
Loads and manages the lifespan of objects from external files.
Katana Engine is a library of classes, interfaces, and value types that provides a foundation for dev...