Conquer Chess
Chess and Starcraft combined
Loading...
Searching...
No Matches
Public Member Functions | List of all members
sound_effects Class Reference

The sound effects. More...

#include <sound_effects.h>

Public Member Functions

 sound_effects ()
 
int get_n_sound_effects () const noexcept
 
void play (const message &effect)
 Play a sound effect.
 
void play_bark (const int number)
 Play a Thema bark. Number can be either 1 or 2.
 
void play_countdown () noexcept
 Play the robotic countdown effect.
 
void play_hide () noexcept
 Play the 'wooosh' effect.
 
void set_master_volume (const volume &v)
 Set the master volume for all sounds.
 

Detailed Description

The sound effects.

Constructor & Destructor Documentation

◆ sound_effects()

sound_effects::sound_effects ( )

Member Function Documentation

◆ get_n_sound_effects()

int sound_effects::get_n_sound_effects ( ) const
inlinenoexcept

◆ play()

void sound_effects::play ( const message effect)

Play a sound effect.

◆ play_bark()

void sound_effects::play_bark ( const int  number)

Play a Thema bark. Number can be either 1 or 2.

◆ play_countdown()

void sound_effects::play_countdown ( )
noexcept

Play the robotic countdown effect.

◆ play_hide()

void sound_effects::play_hide ( )
noexcept

Play the 'wooosh' effect.

◆ set_master_volume()

void sound_effects::set_master_volume ( const volume v)

Set the master volume for all sounds.


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