My Project
Client
Source
Managers
SoundManager
ASound.hpp
1
/*
2
** EPITECH PROJECT, 2022
3
** B-CPP-500-PAR-5-1-rtype-martin.vanaud
4
** File description:
5
** ASound
6
*/
7
8
#ifndef ASOUND_HPP_
9
#define ASOUND_HPP_
10
11
#include <nlohmann/json.hpp>
12
13
#include "MySound.hpp"
14
18
class
ASound
{
19
public
:
25
ASound
(nlohmann::json
const
&jsonData);
30
~ASound
() {};
31
37
MySound
&
getSound
();
38
39
protected
:
40
private
:
41
MySound
_sound;
42
};
43
44
#endif
/* !ASOUND_HPP_ */
ASound::getSound
MySound & getSound()
Get the ASound object.
Definition:
ASound.cpp:18
ASound::~ASound
~ASound()
Destroy the ASound object.
Definition:
ASound.hpp:30
ASound::ASound
ASound(nlohmann::json const &jsonData)
Construct a new ASound object.
Definition:
ASound.cpp:13
MySound
MySound class.
Definition:
MySound.hpp:18
ASound
Class containing all elements of an Sound.
Definition:
ASound.hpp:18
Generated by
1.8.17