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

Public Member Functions | |
| MoveCommand (Person *person, xDirection xDir) | |
| MoveCommand (List *command) | |
| void | execute () | 
| std::string | getString () | 
Static Public Member Functions | |
| static std::string | id () | 
Private Attributes | |
| Person * | _person | 
| xDirection | _xDir | 
Static Private Attributes | |
| static const std::string | _id = "move" | 
Definition at line 65 of file Command.h.
      
  | 
  ||||||||||||
| 
 
 Definition at line 11 of file MoveCommand.cpp.  | 
  
      
  | 
  
| 
 
 Definition at line 16 of file MoveCommand.cpp. References _person, _xDir, List::firstInt(), List::firstString(), Level::getObject(), Level::instance(), and List::rest().  | 
  
      
  | 
  
| 
 
 Implements Command. Definition at line 23 of file MoveCommand.cpp. References _person, _xDir, Person::getAccel(), Person::incrVelocity(), and Person::setXDirection().  | 
  
      
  | 
  
| 
 
 Implements Command. Definition at line 29 of file MoveCommand.cpp. References _id, _person, _xDir, List::getString(), Object::id(), and List::snoc().  | 
  
      
  | 
  
| 
 
 Definition at line 73 of file Command.h. References _id. Referenced by Command::loadCommand().  | 
  
      
  | 
  
| 
 
 Definition at line 78 of file Command.h. Referenced by getString(), and id().  | 
  
      
  | 
  
| 
 
 Definition at line 75 of file Command.h. Referenced by execute(), getString(), and MoveCommand().  | 
  
      
  | 
  
| 
 
 Definition at line 76 of file Command.h. Referenced by execute(), getString(), and MoveCommand().  | 
  
 1.4.6-NO