#include <Command.h>
Inheritance diagram for SetPositionCommand:

Public Member Functions | |
| SetPositionCommand (Object *object, int xPos, int yPos) | |
| SetPositionCommand (List *command) | |
| void | execute () |
| std::string | getString () |
Static Public Member Functions | |
| static std::string | id () |
Private Attributes | |
| std::string | _object |
| int | _xPos |
| int | _yPos |
Static Private Attributes | |
| static const std::string | _id = "setPosition" |
Definition at line 433 of file Command.h.
|
||||||||||||||||
|
Definition at line 10 of file SetPositionCommand.cpp. |
|
|
Definition at line 16 of file SetPositionCommand.cpp. References _object, _xPos, _yPos, List::firstInt(), List::firstString(), and List::rest(). |
|
|
Implements Command. Definition at line 26 of file SetPositionCommand.cpp. References _object, _xPos, _yPos, Level::getObject(), Level::instance(), and Object::setPos(). |
|
|
Implements Command. Definition at line 34 of file SetPositionCommand.cpp. References _id, _object, _xPos, _yPos, List::getString(), and List::snoc(). |
|
|
Definition at line 441 of file Command.h. References _id. Referenced by Command::loadCommand(). |
|
|
Definition at line 448 of file Command.h. Referenced by getString(), and id(). |
|
|
Definition at line 444 of file Command.h. Referenced by execute(), getString(), and SetPositionCommand(). |
|
|
Definition at line 445 of file Command.h. Referenced by execute(), getString(), and SetPositionCommand(). |
|
|
Definition at line 446 of file Command.h. Referenced by execute(), getString(), and SetPositionCommand(). |
1.4.6-NO