Architecture Arcade
Architecture Commune Arcade
Public Attributes | List of all members
Arcade::Graph::IMusic Struct Reference

The IMusic class. More...

#include <IMusic.hpp>

Inheritance diagram for Arcade::Graph::IMusic:
Inheritance graph
Collaboration diagram for Arcade::Graph::IMusic:
Collaboration graph

Public Attributes

std::string path
 Path of the Music. More...
 
bool loop
 Loop music. More...
 
bool play
 Play music. More...
 
- Public Attributes inherited from Arcade::ECS::IComponent
CompType type
 Type of the component (it let you cast without headache) More...
 
std::string id
 Name of the component. More...
 

Additional Inherited Members

- Public Member Functions inherited from Arcade::ECS::IComponent
virtual ~IComponent ()=default
 

Detailed Description

The IMusic class.

The IMusic class is the class where you can manipulate Sounds and Musics. ATTENTION: This class is of CompType MUSIC (you need to set the type in order for the graphic to play it)

Member Data Documentation

◆ loop

bool Arcade::Graph::IMusic::loop

Loop music.

◆ path

std::string Arcade::Graph::IMusic::path

Path of the Music.

◆ play

bool Arcade::Graph::IMusic::play

Play music.


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