Architecture Arcade
Architecture Commune Arcade
IMusic.hpp
Go to the documentation of this file.
1 /*
2 ** EPITECH PROJECT, 2023
3 ** Archi Arcade Promo 2026 Toulouse
4 ** File description:
5 ** A music child of components that will be understood by the graphic library
6 */
7 
8 #pragma once
9 
10 #include <string>
11 #include "IComponent.hpp"
12 
13 namespace Arcade {
14  namespace Graph {
23  struct IMusic : public Arcade::ECS::IComponent {
24  public:
28  std::string path;
32  bool loop;
36  bool play;
37  };
38  } // namespace Graph
39 } // namespace Arcade
Definition: ArcadeStruct.hpp:10
Definition: IComponent.hpp:39
The IMusic class.
Definition: IMusic.hpp:23
bool play
Play music.
Definition: IMusic.hpp:36
bool loop
Loop music.
Definition: IMusic.hpp:32
std::string path
Path of the Music.
Definition: IMusic.hpp:28