Mountain  1.0.0
Simple C++ 2D Game Framework
Mountain::AudioListener Class Reference
+ Inheritance diagram for Mountain::AudioListener:
+ Collaboration diagram for Mountain::AudioListener:

Public Member Functions

void Update () override
 Updates the component.
 
float_t GetVolume () const
 Get the volume in the range [0, inf].
 
void SetVolume (float_t newVolume)
 Set the volume in the range [0, inf]. Default value is 1.
 
- Public Member Functions inherited from Mountain::Component
virtual void Added ()
 Called when the component is added to an Entity.
 
virtual void Removed ()
 Called when the component is removed from an Entity.
 
virtual void Render ()
 Renders the component.
 
virtual void DebugRender ()
 
const EntityGetEntity () const
 Get the Entity on which this Component is attached.
 
EntityGetEntity ()
 Get the Entity on which this Component is attached.
 

Public Attributes

bool_t dopplerEffect = false
 

Additional Inherited Members

- Protected Attributes inherited from Mountain::Component
Entitym_Entity = nullptr
 Entity bound to the component.
 

Detailed Description

Definition at line 11 of file audio_listener.hpp.


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