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

Public Member Functions | |
| AimCommand (Person *person, yDirection yDir) | |
| AimCommand (Person *person, Object *target=NULL) | |
| AimCommand (List *command) | |
| void | execute () |
| std::string | getString () |
Static Public Member Functions | |
| static std::string | id () |
Private Attributes | |
| std::string | _person |
| yDirection | _yDir |
| xDirection | _xDir |
| Object * | _target |
Static Private Attributes | |
| static const std::string | _id = "aim" |
Definition at line 291 of file Command.h.
|
||||||||||||
|
Definition at line 13 of file AimCommand.cpp. |
|
||||||||||||
|
Definition at line 20 of file AimCommand.cpp. References _target, Level::getPlayer(), and Level::instance(). |
|
|
Definition at line 29 of file AimCommand.cpp. References _person, _target, _yDir, List::firstInt(), List::firstList(), List::firstString(), and List::rest(). |
|
|
Implements Command. Definition at line 46 of file AimCommand.cpp. References _person, _target, _yDir, Person::aim(), Object::getBox(), Level::getObject(), Level::instance(), glfuncs::intersectX(), and MIDDLE. |
|
|
Implements Command. Definition at line 72 of file AimCommand.cpp. References _id, _person, _target, _yDir, List::getString(), Object::id(), and List::snoc(). |
|
|
Definition at line 300 of file Command.h. References _id. Referenced by Command::loadCommand(). |
|
|
Definition at line 309 of file Command.h. Referenced by getString(), and id(). |
|
|
Definition at line 303 of file Command.h. Referenced by AimCommand(), execute(), and getString(). |
|
|
Definition at line 307 of file Command.h. Referenced by AimCommand(), execute(), and getString(). |
|
|
|
|
|
Definition at line 304 of file Command.h. Referenced by AimCommand(), execute(), and getString(). |
1.4.6-NO