#include <Command.h>
Inheritance diagram for AddScoreCommand:
Public Member Functions | |
AddScoreCommand (int score) | |
AddScoreCommand (List *command) | |
void | execute () |
std::string | getString () |
Static Public Member Functions | |
static std::string | id () |
Private Attributes | |
int | _score |
Static Private Attributes | |
static const std::string | _id = "addScore" |
Definition at line 309 of file Command.h.
|
Definition at line 10 of file AddScoreCommand.cpp. |
|
Definition at line 16 of file AddScoreCommand.cpp. References _score, List::firstInt(), and List::rest(). |
|
Implements Command. Definition at line 22 of file AddScoreCommand.cpp. References _score, Level::addScore(), and Level::instance(). |
|
Implements Command. Definition at line 27 of file AddScoreCommand.cpp. References _id, _score, List::getString(), and List::snoc(). |
|
Definition at line 317 of file Command.h. References _id. Referenced by Command::loadCommand(). |
|
Definition at line 321 of file Command.h. Referenced by getString(), and id(). |
|
Definition at line 319 of file Command.h. Referenced by AddScoreCommand(), execute(), and getString(). |