Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
Sound Class Reference
Collaboration diagram for Sound:
[legend]

Public Types

enum  Status { Paused, Playing, Stopped, Null }
 

Public Member Functions

 Sound (const sf::SoundBuffer &sound)
 
Status status ()
 
void play ()
 
void stop ()
 
void pause ()
 
Sound & setPosition (const glm::vec3 &position)
 
Sound & setVolume (float volume)
 
Sound & setAttenuation (float attenuation)
 
Sound & setLooping (bool loop)
 
Sound & setRelativeToListener (bool relative)
 
Sound & setMinDistance (float distance)
 

Protected Attributes

std::unique_ptr< sf::Sound > m_sound
 

The documentation for this class was generated from the following files: