10#include <SFML/Audio.hpp>
std::string getLabel() const
Get label associated with music.
std::string m_label
Text label to identify music.
Definition: Music.h:20
Music(Music const &)
SFML doesn't allow music copy.
void operator=(Music const &)
SFML doesn't allow music assignment.
void setLabel(std::string new_label)
Set label associated with music.
sf::Music m_music
The SFML music.
Definition: Music.h:18
void play(bool loop=true)
Play music.
sf::Music * getMusic()
Return pointer to SFML music.
int loadMusic(std::string filename)
Associate music buffer with file.
An animation for a sprite.
Definition: Animation.h:15