#include <Command.h>
Inheritance diagram for SetDoorLockCommand:
Public Member Functions | |
SetDoorLockCommand (Door *door, bool locked) | |
SetDoorLockCommand (List *command) | |
void | execute () |
std::string | getString () |
Static Public Member Functions | |
static std::string | id () |
Private Attributes | |
Door * | _door |
bool | _locked |
Static Private Attributes | |
static const std::string | _id = "setDoorLock" |
Definition at line 293 of file Command.h.
|
Definition at line 10 of file SetDoorLockCommand.cpp. |
|
Definition at line 15 of file SetDoorLockCommand.cpp. References _door, _locked, List::firstString(), Level::getObject(), Level::instance(), and List::rest(). |
|
Implements Command. Definition at line 27 of file SetDoorLockCommand.cpp. References _door, _locked, and Door::setLock(). |
|
Implements Command. Definition at line 32 of file SetDoorLockCommand.cpp. References _door, _id, _locked, List::getString(), Object::id(), and List::snoc(). |
|
Definition at line 301 of file Command.h. References _id. Referenced by Command::loadCommand(). |
|
Definition at line 303 of file Command.h. Referenced by execute(), getString(), and SetDoorLockCommand(). |
|
Definition at line 306 of file Command.h. Referenced by getString(), and id(). |
|
Definition at line 304 of file Command.h. Referenced by execute(), getString(), and SetDoorLockCommand(). |