#include <Command.h>
Inheritance diagram for StopPersonCommand:
Public Member Functions | |
StopPersonCommand (Person *person) | |
StopPersonCommand (List *list) | |
void | execute () |
std::string | getString () |
Static Public Member Functions | |
static std::string | id () |
Private Attributes | |
Person * | _person |
Static Private Attributes | |
static const std::string | _id = "stopPerson" |
Definition at line 339 of file Command.h.
|
Definition at line 10 of file StopPersonCommand.cpp. |
|
Definition at line 15 of file StopPersonCommand.cpp. References _person, List::firstString(), Level::getObject(), Level::instance(), and List::rest(). |
|
Implements Command. Definition at line 21 of file StopPersonCommand.cpp. References _person, and Person::setVelocity(). |
|
Implements Command. Definition at line 26 of file StopPersonCommand.cpp. References _id, _person, List::getString(), Object::id(), and List::snoc(). |
|
Definition at line 347 of file Command.h. References _id. Referenced by Command::loadCommand(). |
|
Definition at line 351 of file Command.h. Referenced by getString(), and id(). |
|
Definition at line 349 of file Command.h. Referenced by execute(), getString(), and StopPersonCommand(). |