R-Type
GameEngine
include
components
MusicComponent.hpp
Go to the documentation of this file.
1
/*
2
** EPITECH PROJECT, 2023
3
** R-Type
4
** File description:
5
** Music
6
*/
7
8
#ifndef MUSIC_HPP_
9
#define MUSIC_HPP_
10
#include "
utils/SfmlTypes.hpp
"
11
#include <string>
12
#include <memory>
13
14
namespace
GameEngine
15
{
16
struct
MusicComponent
17
{
18
std::string
path
;
19
std::shared_ptr<Music>
music
;
20
// Music music;
21
};
22
}
// namespace GameEngine
23
24
#endif
/* !MUSIC_HPP_ */
SfmlTypes.hpp
GameEngine
Definition:
AssetManager.hpp:15
GameEngine::MusicComponent
Definition:
MusicComponent.hpp:17
GameEngine::MusicComponent::path
std::string path
Definition:
MusicComponent.hpp:18
GameEngine::MusicComponent::music
std::shared_ptr< Music > music
Definition:
MusicComponent.hpp:19
Generated by
1.9.1