#include <Command.h>
Inheritance diagram for CrouchCommand:
Public Member Functions | |
CrouchCommand (Person *person, bool crouch=true) | |
CrouchCommand (List *command) | |
void | execute () |
std::string | getString () |
Static Public Member Functions | |
static std::string | id () |
Private Attributes | |
Person * | _person |
bool | _crouch |
Static Private Attributes | |
static const std::string | _id = "crouch" |
Definition at line 50 of file Command.h.
|
Definition at line 11 of file CrouchCommand.cpp. |
|
Definition at line 17 of file CrouchCommand.cpp. References _crouch, _person, List::firstString(), Level::getObject(), Level::instance(), and List::rest(). |
|
Implements Command. Definition at line 29 of file CrouchCommand.cpp. References _crouch, _person, Person::crouch(), and Person::uncrouch(). |
|
Implements Command. Definition at line 37 of file CrouchCommand.cpp. References _crouch, _id, _person, List::getString(), Object::id(), and List::snoc(). |
|
Definition at line 57 of file Command.h. References _id. Referenced by Command::loadCommand(). |
|
Definition at line 60 of file Command.h. Referenced by CrouchCommand(), execute(), and getString(). |
|
Definition at line 62 of file Command.h. Referenced by getString(), and id(). |
|
Definition at line 59 of file Command.h. Referenced by CrouchCommand(), execute(), and getString(). |