GlPortal Class Reference  0.1.1
Source code documentation of the free and open 3D action puzzle game.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Data Structures | Static Public Member Functions | Static Private Attributes
radix::SoundManager Class Reference

#include <external/RadixEngine/include/radix/SoundManager.hpp>

Data Structures

struct  SoundInfo
 

Static Public Member Functions

static void init ()
 
static void reload ()
 
static void destroy ()
 
static void playMusic (const std::string &filename)
 
static void playSound (const std::string &filename, const Entity &source)
 
static void update (const Entity &listener)
 

Static Private Attributes

static bool isInitialized = false
 
static bool isDisabled = true
 
static Mix_Music * music = nullptr
 
static std::map< int, SoundInfosounds = {}
 

Member Function Documentation

void radix::SoundManager::destroy ( )
static
void radix::SoundManager::init ( )
static
void radix::SoundManager::playMusic ( const std::string &  filename)
static
void radix::SoundManager::playSound ( const std::string &  filename,
const Entity source 
)
static
void radix::SoundManager::reload ( )
static
void radix::SoundManager::update ( const Entity listener)
static

Field Documentation

bool radix::SoundManager::isDisabled = true
staticprivate
bool radix::SoundManager::isInitialized = false
staticprivate
Mix_Music * radix::SoundManager::music = nullptr
staticprivate
std::map< int, SoundManager::SoundInfo > radix::SoundManager::sounds = {}
staticprivate

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