#include <Command.h>
Inheritance diagram for PlayMusicCommand:
Public Member Functions | |
PlayMusicCommand (std::string filename) | |
PlayMusicCommand (List *command) | |
void | execute () |
std::string | getString () |
Static Public Member Functions | |
static std::string | id () |
Private Attributes | |
Mix_Music * | _music |
std::string | _filename |
Static Private Attributes | |
static const std::string | _id = "playMusic" |
Definition at line 97 of file Command.h.
|
Definition at line 9 of file PlayMusicCommand.cpp. References _filename, Level::instance(), and Level::setMusic(). |
|
Definition at line 15 of file PlayMusicCommand.cpp. References _filename, List::firstString(), Level::instance(), List::rest(), and Level::setMusic(). |
|
Implements Command. Definition at line 22 of file PlayMusicCommand.cpp. References Level::instance(). |
|
Implements Command. Definition at line 28 of file PlayMusicCommand.cpp. References _filename, _id, List::getString(), and List::snoc(). |
|
Definition at line 104 of file Command.h. References _id. Referenced by Command::loadCommand(). |
|
Definition at line 107 of file Command.h. Referenced by getString(), and PlayMusicCommand(). |
|
Definition at line 109 of file Command.h. Referenced by getString(), and id(). |
|
|