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 ()
 
SoundsetPosition (const glm::vec3 &position)
 
SoundsetVolume (float volume)
 
SoundsetAttenuation (float attenuation)
 
SoundsetLooping (bool loop)
 
SoundsetRelativeToListener (bool relative)
 
SoundsetMinDistance (float distance)
 

Protected Attributes

std::unique_ptr< sf::Sound > m_sound
 

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