My Project
Public Member Functions | List of all members
ASound Class Reference

Class containing all elements of an Sound. More...

#include <ASound.hpp>

Public Member Functions

 ASound (nlohmann::json const &jsonData)
 Construct a new ASound object. More...
 
 ~ASound ()
 Destroy the ASound object. More...
 
MySoundgetSound ()
 Get the ASound object. More...
 

Detailed Description

Class containing all elements of an Sound.

Constructor & Destructor Documentation

◆ ASound()

ASound::ASound ( nlohmann::json const &  jsonData)

Construct a new ASound object.

Parameters
jsonDatapath to the sound file

◆ ~ASound()

ASound::~ASound ( )
inline

Destroy the ASound object.

Member Function Documentation

◆ getSound()

MySound & ASound::getSound ( )

Get the ASound object.

Returns
MyASound& ASound of the asset

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