Brenta Engine 1.2
Loading...
Searching...
No Matches
brenta::Sound Class Reference

Public Member Functions

 Sound (const SoundAsset &asset)
 
 Sound (Sound &&other)
 
 Sound (const Sound &)=delete
 
Soundoperator= (const Sound &)=delete
 
void play ()
 
void stop ()
 
void set_volume (float v)
 

Friends

class SoundManager
 

Detailed Description

Definition at line 91 of file sound.hpp.

Constructor & Destructor Documentation

◆ Sound() [1/2]

Sound::Sound ( const SoundAsset asset)

Definition at line 42 of file sound.cpp.

◆ Sound() [2/2]

brenta::Sound::Sound ( Sound &&  other)
inline

Definition at line 102 of file sound.hpp.

◆ ~Sound()

Sound::~Sound ( )

Definition at line 51 of file sound.cpp.

Member Function Documentation

◆ play()

void Sound::play ( )

Definition at line 56 of file sound.cpp.

◆ set_volume()

void Sound::set_volume ( float  v)

Definition at line 66 of file sound.cpp.

◆ stop()

void Sound::stop ( )

Definition at line 61 of file sound.cpp.

Friends And Related Symbol Documentation

◆ SoundManager

friend class SoundManager
friend

Definition at line 96 of file sound.hpp.


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