#include <Command.h>
Inheritance diagram for PlaySoundCommand:
Public Member Functions | |
PlaySoundCommand (std::string filename) | |
PlaySoundCommand (List *command) | |
void | execute () |
std::string | getString () |
Static Public Member Functions | |
static std::string | id () |
Private Attributes | |
std::string | _filename |
Static Private Attributes | |
static const std::string | _id = "playSound" |
Definition at line 112 of file Command.h.
|
Definition at line 9 of file PlaySoundCommand.cpp. References _filename, Level::instance(), and Level::loadSound(). |
|
Definition at line 15 of file PlaySoundCommand.cpp. References _filename, List::firstString(), Level::instance(), Level::loadSound(), and List::rest(). |
|
Implements Command. Definition at line 22 of file PlaySoundCommand.cpp. References _filename, and Level::instance(). |
|
Implements Command. Definition at line 28 of file PlaySoundCommand.cpp. References _filename, _id, List::getString(), and List::snoc(). |
|
Definition at line 119 of file Command.h. References _id. Referenced by Command::loadCommand(). |
|
Definition at line 121 of file Command.h. Referenced by execute(), getString(), and PlaySoundCommand(). |
|
Definition at line 123 of file Command.h. Referenced by getString(), and id(). |